CreateTable Method
Description
Creates a table item on the Print Template at the specified location which contains attributes of the defined overlay.
Syntax
Visual Basic |
---|
Public Function CreateTable( _ ByVal x1 As Double, _ ByVal y1 As Double, _ ByVal x2 As Double, _ ByVal y2 As Double, _ ByVal pos As Integer, _ ByVal nRows As Integer, _ ) As Integer |
Parameters
- x1
- The x coordinate of the bottom left corner of the table location text box.
- y1
- The y coordinate of the bottom left corner of the table location text box.
- x2
- The x coordinate of the top right corner of the table location text box
- y2
- The y coordinate of the top right corner of the table location text box
- pos
- nRows
The position of the overlay which will be used to populate the table
The maximum number of rows to be displayed.
Remarks
A map frame (Photo item) must be current when CreateTable is called. The coordinate values are in paper units. The table is created with nRows rows for data plus a header row. The table contains a column for every schema column in the overlay at position pos in the SWD being composed and the table is populated with data from that overlay.
The table is created.
Available: GEO DK OM OD SISpy PySis
Group:
Example
sis.CreateTable(0.174, 0.018, 0.255, 0.043, 3, 10)