IPCsDatafields


Topic:

Properties and methods of IPCsDatafields


[+] IPCsDatafields

Class hierarchy:

IPCsApplication IPCsDocument IPCsPage IPCsDatafields
IPCsApplication IPCsDocument IPCsPage IPCsSymbol IPCsDatafields
IPCsApplication IPCsDocument IPCsSelectStatus IPCsSelectionArea IPCsDatafields


Properties / Methods:

Add Adds a datafield to either a page or a symbol. Parameters needed: TPCsPoint3D , and a empty string . Returns a IPCsDatafield
Syntax:
function Add(pt: TPCs3DPoint; const value: WideString): IPCsDatafield;
NOTICE: The function Add, should only be used, from a IPCsSymbol or IPCsPage
It does'nt make sence, to call Datafields.Add from a IPCsSelectionArea
Item Used to access a specific datafield. Parameters needed: an integer. Return type is IPCsDatafield
Syntax:
property Item[Index: Integer]: IPCsDatafield
Count Number of datafields



[+] IPCsDatafields2

Class hierarchy:

IPCsApplication IPCsDocument IPCsPage IPCsDatafields2
IPCsApplication IPCsDocument IPCsPage IPCsSymbol IPCsDatafields2
IPCsApplication IPCsDocument IPCsSelectStatus IPCsSelectionArea IPCsDatafields2


Properties / Methods:

NameByIndexAccesses the name of a datafield. Like Item, but only returns the name as a string.
ValueByIndexAccesses the value of a datafield. Like Item, but only returns the value as a string.



Comments:

Use Datafields.Item[interger] and Datafields.Count to get that/these items you want.
IPCsDatafields gives access to all selected datafields on a page through Item[integer].
IPCsDatafield is a specific datafield, (which can be selected through IPCsDatafields.Item[integer].