IPCsDocument


Topic:

Properties and methods of IPCsDocument


Class hierarchy:

IPCsApplication IPCsDocuments IPCsDocument


Properties / Methods:

SelectInWindow Mark/Select an area on a specific page. Parameters needed: AreaLo as TPCsPoint3D, AreaHi as TPCsPoint3D, Page as IPCsPage, Layer as IPCsLayer, FilterString as string.
AreaLo is lowerleft coordinate of selection. AreaHi is upperright coordinate of selection. Page is the page to do the selection on. Layer is the layer to do the selection on. FilterString should just be an empty string. See example of call here
Syntax:
procedure SelectInWindow(AreaLo: TPCsPoint3D; AreaHi: TPCsPoint3D; const Page: IPCsPage; const Layer: IPCsLayer; const FilterString: WideString);
Whats inside the square the 2 TPCsPoint3D's specifies, can be accessed through the SelectStatus (IPCsSelectStatus )
Fullname Name of the project in Automation
Drawing More on this IPCsDrawing
ActivePage The currently active page in the project. Type IPCsPage
SaveAs Saves the project. Parameters needed: Filename as string
Syntax:
procedure SaveAs(const Filename: WideString);
Handle A unique handle (cardinal) to the project
Saved Used to mark the project as modified. Setting this boolean to false, will make Automation bring up a savedialog, when closing the project
SelectStatus More on this IPCsSelectStatus
IsNewFile This tells if the current project has been saved, meaning that it's not only present in RAM. A value of TRUE means that it's only present in RAM, and not on the harddisk
Print Opens the printdialog


Comments:

A variable of IPCsDocument is accessing a project in Automation. Through this variable it's possible to get symbols, texts, etc. from all pages in that project
IPCsDocuments gives access to all projects through Item[integer].
IPCsDocument is a specific project, (which can be selected through IPCsDocuments.Item[integer]