Inserts sketch text.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function IInsertSketchText( _
ByVal Ptx As System.Double, _
ByVal Pty As System.Double, _
ByVal Ptz As System.Double, _
ByVal Text As System.String, _
ByVal Alignment As System.Integer, _
ByVal FlipDirection As System.Integer, _
ByVal HorizontalMirror As System.Integer, _
ByVal WidthFactor As System.Integer, _
ByVal SpaceBetweenChars As System.Integer _
) As SketchText |
Visual Basic (Usage) | |
---|
Dim instance As IModelDoc2
Dim Ptx As System.Double
Dim Pty As System.Double
Dim Ptz As System.Double
Dim Text As System.String
Dim Alignment As System.Integer
Dim FlipDirection As System.Integer
Dim HorizontalMirror As System.Integer
Dim WidthFactor As System.Integer
Dim SpaceBetweenChars As System.Integer
Dim value As SketchText
value = instance.IInsertSketchText(Ptx, Pty, Ptz, Text, Alignment, FlipDirection, HorizontalMirror, WidthFactor, SpaceBetweenChars) |
Parameters
- Ptx
X coordinate of text
- Pty
Y coordinate of text
- Ptz
Z coordinate of text
- Text
Text to insert
- Alignment
Alignment:
-
0 = Left
-
1 = Center
-
2 = Right
-
3 = Fully justified
- FlipDirection
Vertical flip direction
- HorizontalMirror
Horizontal flip direction
- WidthFactor
Width factor of the text
- SpaceBetweenChars
Amount of space between the characters in the text block
Return Value
Sketch text
See Also
Availability
SOLIDWORKS 2001Plus FCS, Revision Number 10.0