GetCommandOptionPoint2D Method (IDocument) Send Feedback
See Also  Example
Var
Command option as defined in dsCommandOptionPoint2d_e
X[out]
x coordinate of the 2D point
Y[out]
y coordinate of the 2D point
Result[out]
Status of getting the 2D point's coordinates for the command option as defined in dsGetCommandOptionResult_e
Gets the 2D point's coordinates for the specified command option in the document.

Syntax

Visual Basic 
Sub GetCommandOptionPoint2D( _
   ByVal Var As dsCommandOptionPoint2d_e, _
   ByRef X As System.Double, _
   ByRef Y As System.Double, _
   ByRef Result As dsGetCommandOptionResult_e _
) 
C# 
void GetCommandOptionPoint2D( 
   dsCommandOptionPoint2d_e Var,
   out System.double X,
   out System.double Y,
   out dsGetCommandOptionResult_e Result
)
JavaScript 
GetCommandOptionPoint2D( 
   Var : String
) : {
   X : Number,
   Y : Number,
   Result : String
}
COM native C++ 
HRESULT GetCommandOptionPoint2D( 
   dsCommandOptionPoint2d_e Var,
   DOUBLE* X,
   DOUBLE* Y,
   dsGetCommandOptionResult_e* Result
) 
C++ 
DSRESULT GetCommandOptionPoint2D( 
   dsCommandOptionPoint2d_e Var,
   double* X,
   double* Y,
   dsGetCommandOptionResult_e* Result
) 

Parameters

Var
Command option as defined in dsCommandOptionPoint2d_e
X[out]
x coordinate of the 2D point
Y[out]
y coordinate of the 2D point
Result[out] or Return Value
Status of getting the 2D point's coordinates for the command option as defined in dsGetCommandOptionResult_e

Example

 

See Also

Availability

DraftSight V1R1.1