Inserts a table annotation in this drawing.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertTableAnnotation2( _
ByVal UseAnchorPoint As System.Boolean, _
ByVal X As System.Double, _
ByVal Y As System.Double, _
ByVal AnchorType As System.Integer, _
ByVal TableTemplate As System.String, _
ByVal Rows As System.Integer, _
ByVal Columns As System.Integer _
) As TableAnnotation |
Visual Basic (Usage) | |
---|
Dim instance As IDrawingDoc
Dim UseAnchorPoint As System.Boolean
Dim X As System.Double
Dim Y As System.Double
Dim AnchorType As System.Integer
Dim TableTemplate As System.String
Dim Rows As System.Integer
Dim Columns As System.Integer
Dim value As TableAnnotation
value = instance.InsertTableAnnotation2(UseAnchorPoint, X, Y, AnchorType, TableTemplate, Rows, Columns) |
Parameters
- UseAnchorPoint
- True to anchor the table to the general table anchor point and ignore any coordinates specified for X and Y, or false to use the coordinates specified for X and Y
- X
X coordinate to insert this table annotation
- Y
- Y coordinate to insert this table annotation
- AnchorType
Type of anchor as defined in swBOMConfigurationAnchorType_e (see Remarks)
- TableTemplate
- Path and filename of the general table template to use (see Remarks)
- Rows
Number of rows in the table annotation
- Columns
Number of columns in the table annotation
Return Value
Pointer to the ITableAnnotation object
Example
Remarks
See Also
Availability
SOLIDWORKS 2006 FCS, Revision Number 14.0