Hide Table of Contents
EditBalloonProperties2 Method (IModelDocExtension)

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

Before calling this method, select the balloon annotation whose properties you want to edit.
 

See Also

Availability

SOLIDWORKS 2014 FCS, Revision Number 22.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:   EditBalloonProperties2 Method (IModelDocExtension)
*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) 2016 SP05

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.