Table of Contents

Method PlaceOnLine

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

PlaceOnLine(int, double)

Gets the place of a line nearest an X, for the arrows up and down: before the first letter whose middle is right of it, else at the line's end.

public int PlaceOnLine(int line, double x)

Parameters

line int

The line, from nought.

x double

The X.

Returns

int

The place.