LBCreateΒΆ

LBCreate creates a line or arrow drawing object.

hLine = LBCreate()
hLine = LBCreate(hLineOther)

Return Value

hLine is the line handle. If the line cannot be created hLine is 0.

Parameters

hLineOther

If hLineOther is a valid line object handle the functions creates a new object as a copy of the given object. If hLineOther is set to 0 a line object with default settings is created.

Example

hLine = LBCreate()
LBSetP1P2(hLine, [0, 0, 10, -10])
LayerAddObjects(hLayer, hLine);

History

Version Description
5.7.0 hLineOther can be set to 0.
4.2.7 Function can be invoked with one parameter (copy constructor).

id-1328750