IPCsLine


Topic:

Properties and methods of IPCsLine


[+] IPCsLine

Class hierarchy:

IPCsApplication IPCsDocument IPCsPage IPCsLines IPCsLine
IPCsApplication IPCsDocument IPCsSelectStatus SelectedLine
IPCsApplication IPCsDocument IPCsSelectStatus IPCsSelectionArea IPCsLines IPCsLine


Properties / Methods:

AddPoint Used to add a point to a line. Parameters needed: a TPCsPoint3D
Syntax:
procedure AddPoint(Pt: TPCsPoint3D);
AddPointXYZ Same as AddPoint, but this methos take 3 interger as parameters instead
Syntax:
procedure AddPointXYZ(X: Integer; Y: Integer; Z: Integer);
Delete Delete a point from the line
Points Access the points the line consist of. Type is IPCsPoints
IsElectrical Indicates if the line is an electrical line
LineStyle Property that takes a psLineStyle as value
Color Property that takes a psPenColor as value
PenWidth Property that sets the width of the pen the line is drawn with
IsFilled Property that sets if the line is filled
IsJumperingLink Indicates if the line is jumpering link/bridge
MultilineDistance Property that sets the distance between the edges in a line
IsCurvedLine Property that specifies if the line drawn is straight from point to point, or if its curved
Layer See more IPCsLayer
LineTexts Adds text to the line, see more about IPCsLineTexts
Handle A unique handle to the line



[+] IPCsLine6

Class hierarchy:

IPCsApplication IPCsDocument IPCsPage IPCsLines IPCsLine6
IPCsApplication IPCsDocument IPCsSelectStatus SelectedLine
IPCsApplication IPCsDocument IPCsSelectStatus IPCsSelectionArea IPCsLines IPCsLine6


Properties / Methods:

DatafieldsProperty of type IPCsLineDatafields
RGBColor Property of type integer, that indicates the color in 24 bit (16.7 mill. colors)



Comments:

Use Lines.Item[interger] and Lines.Count to get that/these items you want.
IPCsLines gives access to all lines on a page through Item[integer].
IPCsLine is a specific line, (which can be selected through IPCsLines.Item[integer]