IPCsLibType


Topic:

Properties and methods of IPCsLibType


Class hierarchy:

IPCsApplication IPCsDocument IPCsPage IPCsSymbol IPCsLibType
IPCsApplication IPCsDocument IPCsDrawing IPCsSymbol IPCsLibType


Properties / Methods:

GetRect Used for getting coordinates from where the symbol is placed on the diagram. Parameters needed: a psSymbolRectType . Returns a TPCsRect
Syntax:
function GetRect(AType: PsSymbolRectType): TPCsRect;
Delete Deletes the LibType
SymbolType The type the symbol is. More on this psSymbolType
Name The filename of the symbol. This does not include the path...
Handle A unique handle to the symbol
Lines See more about IPCsLines
Connections See more about IPCsLibTypeConnections
Arcs See more about IPCsArcs
Texts See more about IPCsTexts
SymbolTexts See more about IPCsSymbolTexts
Title A description of what the symbol are. This value is found in the SYM-file, under ".Title"
TitleRC A description of what the symbol are, in a specific language. This value is found in the SYM-file, under ".Title", with a matching Language code. Parameters needed an integer. See Windows Locale Codes, for valid codes.
Ex.
TitleRc[1030] for the danish description
CustomCommand: GetAsBitmapCreates a TBitMap, from a symbol-filename. See codeexample here


Comments:

IPCsLibtype can be used, to create a symbol, which consist of more IPCsSymbol , IPCsLine , IPCsArc , IPCsText .
First create a variable of a IPCsLibType. Add a LibType to that variable.
Then add whatever you like to that variable. See codeexample here