SetCommandOptionPoint2D Method (IDocument)

SetCommandOptionPoint2D Method (IDocument) | Send Feedback
See Also Example

Var
  Command option as defined in dsCommandOptionPoint2d_e

X
  x coordinate of 2D point

Y
  y coordinate of 2D point

Result[out]
  Status of setting the command option of the 2D point as defined in dsSetCommandOptionResult_e

Sets the command option for the specified 2D point in the document.

# Syntax

Visual Basic |
--- | ---
    Sub SetCommandOptionPoint2D( _
       ByVal Var As dsCommandOptionPoint2d_e, _
       ByVal X As System.Double, _
       ByVal Y As System.Double, _
       ByRef Result As dsSetCommandOptionResult_e _
    )

C# |
--- | ---
    void SetCommandOptionPoint2D(
       dsCommandOptionPoint2d_e Var,
       System.double X,
       System.double Y,
       out dsSetCommandOptionResult_e Result
    )

JavaScript |
--- | ---
    SetCommandOptionPoint2D(
       Var : String,
       X : Number,
       Y : Number
    ) : String

COM native C++ |
--- | ---
    HRESULT SetCommandOptionPoint2D(
       dsCommandOptionPoint2d_e Var,
       DOUBLE X,
       DOUBLE Y,
       dsSetCommandOptionResult_e* Result
    )

C++ |
--- | ---
    DSRESULT SetCommandOptionPoint2D(
       dsCommandOptionPoint2d_e Var,
       double X,
       double Y,
       dsSetCommandOptionResult_e* Result
    )

#### Parameters

Var
  Command option as defined in dsCommandOptionPoint2d_e
X
  x coordinate of 2D point
Y
  y coordinate of 2D point
Result[out] or Return Value
  Status of setting the command option of the 2D point as defined in dsSetCommandOptionResult_e

# Example

Get and Set Command Options (C#)
Get and Set Command Options (VB.NET)
Get and Set Command Options (VBA)

# See Also

####

IDocument Interface
IDocument Members
IDocument::GetCommandOptionPoint2D Method

# Availability

DraftSight V1R1.1