GetCommandOptionString Method (IDocument) Send Feedback
See Also  Example
Var
Command option as defined in dsCommandOptionString_e
Value[out]
String value of the specified command option
Result[out]
Status of getting the string value of the command option as defined in dsGetCommandOptionResult_e
Gets the string value for the specified command option in the document.

Syntax

Visual Basic 
Sub GetCommandOptionString( _
   ByVal Var As dsCommandOptionString_e, _
   ByRef Value As System.String, _
   ByRef Result As dsGetCommandOptionResult_e _
) 
C# 
void GetCommandOptionString( 
   dsCommandOptionString_e Var,
   out System.string Value,
   out dsGetCommandOptionResult_e Result
)
JavaScript 
GetCommandOptionString( 
   Var : String
) : {
   Value : String,
   Result : String
}
COM native C++ 
HRESULT GetCommandOptionString( 
   dsCommandOptionString_e Var,
   BSTR* Value,
   dsGetCommandOptionResult_e* Result
) 
C++ 
DSRESULT GetCommandOptionString( 
   dsCommandOptionString_e Var,
   dsString* Value,
   dsGetCommandOptionResult_e* Result
) 

Parameters

Var
Command option as defined in dsCommandOptionString_e
Value[out]
String value of the specified command option
Result[out] or Return Value
Status of getting the string value of the command option as defined in dsGetCommandOptionResult_e

Example

 

See Also

Availability

DraftSight V1R1.1