TiObjectCanvas.AddLine
TiObjectCanvas
Adds a Line object to the control.
function AddLine(Left, Top, Right, Bottom : Double) : Integer;
Description
Call AddLine to add a line object to the canvas. All other properties of the
line not specified in the parameters will be set to the default values. Store
the handle returned if you wish to manipulate the object at a later time or to
set the other properties of the object.
Example
Delphi
Line1Handle := iComponent.AddLine(0, 0, 20, 20);
C++ Builder
Line1Handle = iComponent->AddLine(0, 0, 20, 20);
Contents | Index | Previous | Next