InsertNote Method (ISketchManager)

InsertNote Method (ISketchManager) | Send Feedback
See Also Example

Note[out]
  Note

X1
  x coordinate of upper-left corner of Note

Y1
  y coordinate of upper-left corner of Note

Z1
  z coordinate of upper-left corner of Note

X2
  x coordinate of lower-right corner of Note

Y2
  y coordinate of lower-right corner of Note

Z2
  z coordinate of lower-right corner of Note

StrArray
  Array of strings constituting the text of the Note

Inserts a Note.

# Syntax

Visual Basic |
--- | ---
    Function InsertNote( _
       ByVal X1 As System.Double, _
       ByVal Y1 As System.Double, _
       ByVal Z1 As System.Double, _
       ByVal X2 As System.Double, _
       ByVal Y2 As System.Double, _
       ByVal Z2 As System.Double, _
       ByVal StrArray As System.Object _
    ) As Note

C# |
--- | ---
    Note InsertNote(
       System.double X1,
       System.double Y1,
       System.double Z1,
       System.double X2,
       System.double Y2,
       System.double Z2,
       System.object StrArray
    )

JavaScript |
--- | ---
    InsertNote(
       X1 : Number,
       Y1 : Number,
       Z1 : Number,
       X2 : Number,
       Y2 : Number,
       Z2 : Number,
       StrArray : Array
    ) : dsNote

COM native C++ |
--- | ---
    HRESULT InsertNote(
       DOUBLE X1,
       DOUBLE Y1,
       DOUBLE Z1,
       DOUBLE X2,
       DOUBLE Y2,
       DOUBLE Z2,
       VARIANT StrArray,
       INote** Note
    )

C++ |
--- | ---
    DSRESULT InsertNote(
       double X1,
       double Y1,
       double Z1,
       double X2,
       double Y2,
       double Z2,
       const dsStringArray& StrArray,
       dsNote** Note
    )

#### Parameters

X1
  x coordinate of upper-left corner of Note
Y1
  y coordinate of upper-left corner of Note
Z1
  z coordinate of upper-left corner of Note
X2
  x coordinate of lower-right corner of Note
Y2
  y coordinate of lower-right corner of Note
Z2
  z coordinate of lower-right corner of Note
StrArray
  Array of strings constituting the text of the Note
Note[out] or Return Value
  Note

# Example

Insert Notes (C#)
Insert Notes (VB.NET)
Insert Notes (VBA)

# See Also

####

ISketchManager Interface
ISketchManager Members
INote::InsertNoteWithParameters Method

# Availability

DraftSight V1R1.1