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

Syntax

Visual Basic 
Sub GetCommandOptionBool( _
   ByVal Var As dsCommandOptionBool_e, _
   ByRef Value As System.Boolean, _
   ByRef Result As dsGetCommandOptionResult_e _
) 
C# 
void GetCommandOptionBool( 
   dsCommandOptionBool_e Var,
   out System.bool Value,
   out dsGetCommandOptionResult_e Result
)
JavaScript 
GetCommandOptionBool( 
   Var : String
) : {
   Value : Boolean,
   Result : String
}
COM native C++ 
HRESULT GetCommandOptionBool( 
   dsCommandOptionBool_e Var,
   VARIANT_BOOL* Value,
   dsGetCommandOptionResult_e* Result
) 
C++ 
DSRESULT GetCommandOptionBool( 
   dsCommandOptionBool_e Var,
   bool* Value,
   dsGetCommandOptionResult_e* Result
) 

Parameters

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

Example

 

See Also

Availability

DraftSight V1R1.1