COM Interface: ISchSheet
This class provides access to the properties of a sheet in eCADSTAR Schematic Editor. It also allows you to open and close the sheet.
Members
Functions
| Function | Description |
|---|---|
| void Open() | Opens the sheet. |
| void Close() | Closes the sheet. |
| void AddPart(BSTR reference, BSTR partname, BSTR alternate, long gateNumber, long bitCount, long xPos, long yPos) | Adds a new part with the specified parameters. |
| void AddSymbol(BSTR symbolName, BSTR alternate, long bitCount, long xPos, long yPos) | Adds a new symbol with the specified parameters. |
Properties
| Property | Description |
|---|---|
| VARIANT_BOOL Active {get} {set} | If the sheet is active, then the value "true" is returned. |
| ISchBlocks Blocks {get} | Returns a list of the blocks that are placed in the sheet. |
| ISchComponents Components {get} | Returns a list of the components that are placed in the sheet. This property is accessible only if the sheet is open. |
| BSTR Description {get} | Returns the description of the sheet. This property is accessible only if the sheet is open. |
| long Number {get} | Returns the sheet number for the sheet. |
| VARIANT_BOOL Opened {get} {set} | If the sheet is opened, then the value "true" is returned. |
| IProperties Properties {get} | Returns a list of the properties of the sheet. This property is accessible only if the sheet is open. |
| ISchSheetNets SheetNets {get} | Returns a list of the nets in the sheet. This property is accessible only if the sheet is open. |

