SetApplicationOptionBool Method (IApplicationOptions)

SetApplicationOptionBool Method (IApplicationOptions) | Send Feedback
See Also

Result[out]
  Status of setting the Boolean value of the command option as defined in dsSetApplicationOptionResult_e

Var
  Command option as defined in dsApplicationOptionBool_e

Value
  Boolean value for the specified command option

Sets the Boolean value for the specified command option for DraftSight.

# Syntax

Visual Basic |
--- | ---
    Function SetApplicationOptionBool( _
       ByVal Var As dsApplicationOptionBool_e, _
       ByVal Value As System.Boolean _
    ) As dsSetApplicationOptionResult_e

C# |
--- | ---
    dsSetApplicationOptionResult_e SetApplicationOptionBool(
       dsApplicationOptionBool_e Var,
       System.bool Value
    )

JavaScript |
--- | ---
    SetApplicationOptionBool(
       Var : String,
       Value : Boolean
    ) : String

COM native C++ |
--- | ---
    HRESULT SetApplicationOptionBool(
       dsApplicationOptionBool_e Var,
       VARIANT_BOOL Value,
       dsSetApplicationOptionResult_e* Result
    )

C++ |
--- | ---
    DSRESULT SetApplicationOptionBool(
       dsApplicationOptionBool_e Var,
       bool Value,
       dsSetApplicationOptionResult_e* Result
    )

#### Parameters

Var
  Command option as defined in dsApplicationOptionBool_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 dsSetApplicationOptionResult_e

# See Also

####

IApplicationOptions Interface
IApplicationOptions Members
IApplicationOptions::GetApplicationOptionBool Method ()
IDocument::SetCommandOptionBool Method ()
IDocument::GetCommandOptionBool Method ()

# Availability

DraftSight V1R5.0