Hide Table of Contents
InsertNewNote2 Method (IDrawingDoc)

Creates a new note in this drawing.

.NET Syntax

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

You must be a SolidWorks subscription customer to access the SolidWorks API forum's documents.

  1. Open https://forum.solidworks.com/community/solidworks/api?view=documents.
  2. Log in.
  3. Click SolidWorks > API to open the SolidWorks API forum.
  4. Click the Documents tab.
  5. Locate the Insert Note Leader at Sketch Point (VBA, VB.NET, and C#) document and download the Zip file.
 

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) 2012 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.