Hide Table of Contents
InsertBOMBalloon Method (IModelDocExtension)

Obsolete. Superseded by IModelDocExtension::InsertBomBalloon2.

.NET Syntax

Visual Basic (Declaration) 
Function InsertBOMBalloon( _
   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 _
) 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 value As System.Object
 
value = instance.InsertBOMBalloon(Style, Size, UpperTextStyle, UpperText, LowerTextStyle, LowerText, CustomSize, ShowQuantity, QuantityPlacement, QuantityDenotationText)
C# 
System.object InsertBOMBalloon( 
   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
)
C++/CLI 
System.Object^ InsertBOMBalloon( 
&   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
) 

Parameters

Style
Balloon style as defined in swBalloonStyle_e
Size
Balloon size as defined in swBalloonFit_e
UpperTextStyle
Style for the upper text of the balloon as defined in swBalloonTextContent_e (see Remarks)
UpperText
Upper text of the balloon
LowerTextStyle

Style for the lower text of the balloon as defined in swBalloonTextContent_e; valid for balloons only and Style must be set to swBS_SplitCirc (see Remarks)

LowerText
Lower text of the balloon; valid for balloons only and Style must be set to swBS_SplitCirc
CustomSize
User-defined size of the balloon; Size must be set to swBF_UserDef
ShowQuantity
True to show quantity, false to not
QuantityPlacement

Placement of quantity value:

  • 0 = Left
  • 1 = Right
  • 2 = Top
  • 3 = Bottom
QuantityDenotationText
Denotation text for quantity

Return Value

Note

Remarks

See INote::PropertyLinkedText for examples of link strings usable with swBalloonTextContent_e.swBalloonTextCustomProperties.
 

See Also

Availability

SOLIDWORKS 2010 FCS, Revision number 18.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:   InsertBOMBalloon 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) 2018 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.