Hide Table of Contents
InsertNewNote2 Method (IDrawingDoc)

Creates a new note in this drawing.

.NET Syntax

Visual Basic (Declaration) 
Sub InsertNewNote2( _
   ByVal UpperText As System.String, _
   ByVal LowerText As System.String, _
   ByVal NoLeader As System.Boolean, _
   ByVal BentLeader As System.Boolean, _
   ByVal ArrowStyle As System.Short, _
   ByVal LeaderSide As System.Short, _
   ByVal Angle As System.Double, _
   ByVal BalloonStyle As System.Short, _
   ByVal BalloonFit As System.Short, _
   ByVal UpperNoteContent As System.Short, _
   ByVal LowerNoteContent As System.Short _
) 
Visual Basic (Usage) 
Dim instance As IDrawingDoc
Dim UpperText As System.String
Dim LowerText As System.String
Dim NoLeader As System.Boolean
Dim BentLeader As System.Boolean
Dim ArrowStyle As System.Short
Dim LeaderSide As System.Short
Dim Angle As System.Double
Dim BalloonStyle As System.Short
Dim BalloonFit As System.Short
Dim UpperNoteContent As System.Short
Dim LowerNoteContent As System.Short
 
instance.InsertNewNote2(UpperText, LowerText, NoLeader, BentLeader, ArrowStyle, LeaderSide, Angle, BalloonStyle, BalloonFit, UpperNoteContent, LowerNoteContent)
C# 
void InsertNewNote2( 
   System.string UpperText,
   System.string LowerText,
   System.bool NoLeader,
   System.bool BentLeader,
   System.short ArrowStyle,
   System.short LeaderSide,
   System.double Angle,
   System.short BalloonStyle,
   System.short BalloonFit,
   System.short UpperNoteContent,
   System.short LowerNoteContent
)
C++/CLI 
void InsertNewNote2( 
&   System.String^ UpperText,
&   System.String^ LowerText,
&   System.bool NoLeader,
&   System.bool BentLeader,
&   System.short ArrowStyle,
&   System.short LeaderSide,
&   System.double Angle,
&   System.short BalloonStyle,
&   System.short BalloonFit,
&   System.short UpperNoteContent,
&   System.short LowerNoteContent
) 

Parameters

UpperText

Upper text string to be put in the note

LowerText

Unused; pass an empty string

NoLeader

True does not add a leader line, false does

BentLeader

True adds a bent leader line, false does not

ArrowStyle

Arrowhead type as defined in swArrowStyle_e

LeaderSide

Leader line side as defined in swLeaderSide_e

Angle

Text angle

BalloonStyle

Balloon style type as defined in swBalloonStyle_e

BalloonFit

Balloon fit type as defined in swBalloonFit_e

UpperNoteContent

Unused; set to 0

LowerNoteContent

Unused; set to 0

Example

Download Insert Note Leader at Sketch Point (VBA, VB.NET, and C#) from the SOLIDWORKS API forum. You must be a SOLIDWORKS subscription customer to access the SOLIDWORKS API forum's documents.

 

See Also



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:   InsertNewNote2 Method (IDrawingDoc)
*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) 2019 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.