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