Edits the selected balloon's properties.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function EditBalloonProperties2( _
ByVal Style As System.Integer, _
ByVal Size As System.Integer, _
ByVal UpperTextStyle As System.Integer, _
ByVal UpperText As System.String, _
ByVal LowerTextStyle As System.Integer, _
ByVal LowerText As System.String, _
ByVal CustomSize As System.Double, _
ByVal ShowQuantity As System.Boolean, _
ByVal QuantityPlacement As System.Short, _
ByVal QuantityDenotationText As System.String, _
ByVal QuantityDistance As System.Double _
) As System.Object |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim Style As System.Integer
Dim Size As System.Integer
Dim UpperTextStyle As System.Integer
Dim UpperText As System.String
Dim LowerTextStyle As System.Integer
Dim LowerText As System.String
Dim CustomSize As System.Double
Dim ShowQuantity As System.Boolean
Dim QuantityPlacement As System.Short
Dim QuantityDenotationText As System.String
Dim QuantityDistance As System.Double
Dim value As System.Object
value = instance.EditBalloonProperties2(Style, Size, UpperTextStyle, UpperText, LowerTextStyle, LowerText, CustomSize, ShowQuantity, QuantityPlacement, QuantityDenotationText, QuantityDistance) |
C# | |
---|
System.object EditBalloonProperties2(
System.int Style,
System.int Size,
System.int UpperTextStyle,
System.string UpperText,
System.int LowerTextStyle,
System.string LowerText,
System.double CustomSize,
System.bool ShowQuantity,
System.short QuantityPlacement,
System.string QuantityDenotationText,
System.double QuantityDistance
) |
C++/CLI | |
---|
System.Object^ EditBalloonProperties2(
& System.int Style,
& System.int Size,
& System.int UpperTextStyle,
& System.String^ UpperText,
& System.int LowerTextStyle,
& System.String^ LowerText,
& System.double CustomSize,
& System.bool ShowQuantity,
& System.short QuantityPlacement,
& System.String^ QuantityDenotationText,
& System.double QuantityDistance
) |
Parameters
- Style
- Style of balloon as defined in swBalloonStyle_e
- Size
- Balloon size as defined in swBalloonFit_e
- UpperTextStyle
- Balloon text style as defined in swBalloonTextContent_e
- UpperText
Text for the balloon; valid only if UpperTextStyle is one of the following:
- swBalloonTextContent_e.swBalloonTextCustom
- swBalloonTextContent_e.swBalloonTextCustomProperties
- swBalloonTextContent_e.swBalloonTextCutListProperties
- LowerTextStyle
- Lower text style as defined in swBalloonTextContent_e; valid only if Style is swBalloonStyle_e.swBS_SplitCirc
- LowerText
Text for the lower text in the balloon; valid only if Style is swBalloonStyle_e.swBS_SplitCirc and LowerTextStyle is one of the following:
- swBalloonTextContent_e.swBalloonTextCustom
- swBalloonTextContent_e.swBalloonTextCustomProperties
- swBalloonTextContent_e.swBalloonTextCutListProperties
- CustomSize
- User-defined size of the balloon; valid only if Size is swBalloonFit_e.swBF_UserDef
- ShowQuantity
- True to show quantity, false to not
- QuantityPlacement
- Placement of quantity value as defined in swBalloonQuantityPlacement_e; valid only if ShowQuantity is true
- QuantityDenotationText
- Denotation text for quantity; valid only if ShowQuantity is true
- QuantityDistance
- Distance between the balloon and the quantity; valid only if ShowQuantity is true
Return Value
Note
Example
Remarks
See Also
Availability
SolidWorks 2014 FCS, Revision Number 22.0