InsertTable Method (ISketchManager)

InsertTable Method (ISketchManager) | Send Feedback
See Also Example

Table[out]
  Table

Left
  x coordinate of the upper-left corner point of the Table

Top
  y coordinate of the upper-left corner point of the Table

Rows
  Number of rows in the Table

Columns
  Number of columns in the Table

RowHeight
  Height of the rows in the Table

ColumnWidth
  Width of the columns in the Table

FirstRowStyle
  Style for first row as defined in dsTableCellType_e

SecondRowStyle
  Style for second row as defined in dsTableCellType_e

OtherRowStyle
  Style for all other rows as defined in dsTableCellType_e

Inserts a Table.

# Syntax

Visual Basic |
--- | ---
    Function InsertTable( _
       ByVal Left As System.Double, _
       ByVal Top As System.Double, _
       ByVal Rows As System.Integer, _
       ByVal Columns As System.Integer, _
       ByVal RowHeight As System.Double, _
       ByVal ColumnWidth As System.Double, _
       ByVal FirstRowStyle As dsTableCellType_e, _
       ByVal SecondRowStyle As dsTableCellType_e, _
       ByVal OtherRowStyle As dsTableCellType_e _
    ) As Table

C# |
--- | ---
    Table InsertTable(
       System.double Left,
       System.double Top,
       System.int Rows,
       System.int Columns,
       System.double RowHeight,
       System.double ColumnWidth,
       dsTableCellType_e FirstRowStyle,
       dsTableCellType_e SecondRowStyle,
       dsTableCellType_e OtherRowStyle
    )

JavaScript |
--- | ---
    InsertTable(
       Left : Number,
       Top : Number,
       Rows : Number,
       Columns : Number,
       RowHeight : Number,
       ColumnWidth : Number,
       FirstRowStyle : String,
       SecondRowStyle : String,
       OtherRowStyle : String
    ) : dsTable

COM native C++ |
--- | ---
    HRESULT InsertTable(
       DOUBLE Left,
       DOUBLE Top,
       LONG Rows,
       LONG Columns,
       DOUBLE RowHeight,
       DOUBLE ColumnWidth,
       dsTableCellType_e FirstRowStyle,
       dsTableCellType_e SecondRowStyle,
       dsTableCellType_e OtherRowStyle,
       ITable** Table
    )

C++ |
--- | ---
    DSRESULT InsertTable(
       double Left,
       double Top,
       long Rows,
       long Columns,
       double RowHeight,
       double ColumnWidth,
       dsTableCellType_e FirstRowStyle,
       dsTableCellType_e SecondRowStyle,
       dsTableCellType_e OtherRowStyle,
       dsTable** Table
    )

#### Parameters

Left
  x coordinate of the upper-left corner point of the Table
Top
  y coordinate of the upper-left corner point of the Table
Rows
  Number of rows in the Table
Columns
  Number of columns in the Table
RowHeight
  Height of the rows in the Table
ColumnWidth
  Width of the columns in the Table
FirstRowStyle
  Style for first row as defined in dsTableCellType_e
SecondRowStyle
  Style for second row as defined in dsTableCellType_e
OtherRowStyle
  Style for all other rows as defined in dsTableCellType_e
Table[out] or Return Value
  Table

# Example

Create Table (C#)
Create Table (VB.NET)
Create Table (VBA)
Create Table (JavaScript)

# See Also

####

ISketchManager Interface
ISketchManager Members
ITableStyle Interface
ITableStyleManager Interface

# Availability

DraftSight V1R3.0