Hide Table of Contents
InsertStackedBalloon Method (IModelDoc2)

Obsolete. Superseded by IModelDocExtension::InsertStackedBalloon.

.NET Syntax

Visual Basic (Declaration) 
Function InsertStackedBalloon( _
   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 _
) As Note
Visual Basic (Usage) 
Dim instance As IModelDoc2
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 value As Note
 
value = instance.InsertStackedBalloon(Style, Size, UpperTextStyle, UpperText, LowerTextStyle, LowerText)
C# 
Note InsertStackedBalloon( 
   System.int Style,
   System.int Size,
   System.int UpperTextStyle,
   System.string UpperText,
   System.int LowerTextStyle,
   System.string LowerText
)
C++/CLI 
Note^ InsertStackedBalloon( 
&   System.int Style,
&   System.int Size,
&   System.int UpperTextStyle,
&   System.String^ UpperText,
&   System.int LowerTextStyle,
&   System.String^ LowerText
) 

Parameters

Style

Balloon style as defined in swBalloonStyle_e

Size

Balloon size as defined in swBalloonFit_e

UpperTextStyle
Text style for the upper text of the balloon as defined in swBalloonTextContent_e
UpperText
Text in the balloon
LowerTextStyle
Text style for the lower text of the balloon as defined in swBalloonTextContent_e
LowerText
Text in the lower part of the balloon when Style = swBS_SplitCirc

Return Value

Newly created note

Remarks

This method adds a single balloon note attached to the pre-selected entity. The note is located near the pre-selection.

This method returns a Note object, which you can then use to access the note; for example, setting the font of the note text or setting the position of the Note. You can stack notes on the Note object returned by this method.

Use INote::GetBalloonStack with this note to get the IBalloonStack object. You can control various properties of the stack, such as the direction and size. You can also use the BalloonStack to stack more balloons on this first balloon.

If the balloon style is split circle, both the lower- and upper-text arguments are used. If the balloon style is anything other than split circle, the upper-text arguments are used and the lower-text arguments are ignored.

If the text style is item number or quantity, the note text is determined through the pres-selected entity to which this note is attached and the corresponding text argument is ignored. If the pre-selection is just a location on the drawing, not an entity, then the text style should be custom and you must specify the text to use.

 

See Also

Availability

SOLIDWORKS 2001Plus FCS, Revision Number 10.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:   InsertStackedBalloon Method (IModelDoc2)
*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.