Creates a datum target symbol.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertDatumTargetSymbol2( _
ByVal Datum1 As String, _
ByVal Datum2 As String, _
ByVal Datum3 As String, _
ByVal AreaStyle As Short, _
ByVal AreaOutside As Boolean, _
ByVal Value1 As Double, _
ByVal Value2 As Double, _
ByVal ValueStr1 As String, _
ByVal ValueStr2 As String, _
ByVal ArrowsSmart As Boolean, _
ByVal ArrowStyle As Short, _
ByVal LeaderLineStyle As Short, _
ByVal LeaderBent As Boolean, _
ByVal ShowArea As Boolean, _
ByVal ShowSymbol As Boolean _
) As DatumTargetSym |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim Datum1 As String
Dim Datum2 As String
Dim Datum3 As String
Dim AreaStyle As Short
Dim AreaOutside As Boolean
Dim Value1 As Double
Dim Value2 As Double
Dim ValueStr1 As String
Dim ValueStr2 As String
Dim ArrowsSmart As Boolean
Dim ArrowStyle As Short
Dim LeaderLineStyle As Short
Dim LeaderBent As Boolean
Dim ShowArea As Boolean
Dim ShowSymbol As Boolean
Dim value As DatumTargetSym
value = instance.InsertDatumTargetSymbol2(Datum1, Datum2, Datum3, AreaStyle, AreaOutside, Value1, Value2, ValueStr1, ValueStr2, ArrowsSmart, ArrowStyle, LeaderLineStyle, LeaderBent, ShowArea, ShowSymbol)
|
C# | |
---|
DatumTargetSym InsertDatumTargetSymbol2(
string Datum1,
string Datum2,
string Datum3,
short AreaStyle,
bool AreaOutside,
double Value1,
double Value2,
string ValueStr1,
string ValueStr2,
bool ArrowsSmart,
short ArrowStyle,
short LeaderLineStyle,
bool LeaderBent,
bool ShowArea,
bool ShowSymbol
) |
C++/CLI | |
---|
DatumTargetSym^ InsertDatumTargetSymbol2(
& String^ Datum1,
& String^ Datum2,
& String^ Datum3,
& short AreaStyle,
& bool AreaOutside,
& double Value1,
& double Value2,
& String^ ValueStr1,
& String^ ValueStr2,
& bool ArrowsSmart,
& short ArrowStyle,
& short LeaderLineStyle,
& bool LeaderBent,
& bool ShowArea,
& bool ShowSymbol
) |
Parameters
- Datum1
- Datum reference string 1
- Datum2
Datum reference string 2
- Datum3
Datum reference string 3
- AreaStyle
-
0 = point
-
1 = circle
-
2 = rectangle
- AreaOutside
- True to display the target area outside, false to not
- Value1
Numeric datum target area diameter or width
- Value2
- Numeric datum target area heig
- ValueStr1
Value for datum target area diameter or width
- ValueStr2
Value for datum target area height
- ArrowsSmart
True to use smart arrows, false to not
- ArrowStyle
- Arrowhead style as defined by swArrowStyle_e
- LeaderLineStyle
Leaderline style as defined by swLeaderStyle_e
- LeaderBent
True to create a bent leader line, false to not
- ShowArea
True to show the target area, false to not
- ShowSymbol
True to display the target symbol, false to not
Return Value
Datum target symbol
See Also
Availability
SolidWorks 2005 FCS, Revision Number 13.0