Hide Table of Contents
InsertTable Method (ISketchManager)
Table[out]
Table

Inserts a Table.

.NET Syntax

Visual Basic (Declaration) 
Function InsertTable( _
   double Left As System.Double, _
   double Top As System.Double, _
   long Rows As System.Integer, _
   long Columns As System.Integer, _
   double RowHeight As System.Double, _
   double ColumnWidth As System.Double, _
   dsTableCellType_e FirstRowStyle As dsTableCellType_e, _
   dsTableCellType_e SecondRowStyle As dsTableCellType_e, _
   dsTableCellType_e 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

 

See Also

Availability

DraftSight V1R3.0


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   InsertTable Method (ISketchManager)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:



x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2019 SP04

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.