GetApplicationOptionBool Method (IApplicationOptions)

GetApplicationOptionBool Method (IApplicationOptions) | Send Feedback
See Also

Result[out]
  Status of getting the Boolean value of the command option as defined in dsGetApplicationOptionResult_e

Var
  Command option as defined in dsApplicationOptionBool_e

Value[out]

  Boolean value of the specified command option

Gets the Boolean value of the specified command option for DraftSight.

# Syntax

Visual Basic |
--- | ---
    Function GetApplicationOptionBool( _
       ByVal Var As dsApplicationOptionBool_e, _
       ByRef Value As System.Boolean _
    ) As dsGetApplicationOptionResult_e

C# |
--- | ---
    dsGetApplicationOptionResult_e GetApplicationOptionBool(
       dsApplicationOptionBool_e Var,
       out System.bool Value
    )

JavaScript |
--- | ---
    GetApplicationOptionBool(
       Var : String
    ) : {
       Value : Boolean,
       Result : String
    }

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

C++ |
--- | ---
    DSRESULT GetApplicationOptionBool(
       dsApplicationOptionBool_e Var,
       bool* Value,
       dsGetApplicationOptionResult_e* Result
    )

#### Parameters

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

# See Also

####

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

# Availability

DraftSight V1R5.0