SetCommandOptionBool Method (IDocument) Send Feedback
See Also  Example
Var
Command option as defined in dsCommandOptionBool_e
Value
Boolean value for the specified command option
Result[out]
Status of setting the Boolean value of the command option as defined in dsSetCommandOptionResult_e
Sets the Boolean value for the specified command option for the document.

Syntax

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

Parameters

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

Example

 

See Also

Availability

DraftSight V1R1.1