GetCommandOptionInt16 Method (IDocument)

GetCommandOptionInt16 Method (IDocument) | Send Feedback
See Also Example

Var
  Command option as defined in dsCommandOptionInt16_e

Value[out]
  Int16 value of the specified command option

Result[out]
  Status of getting the Int16 value of the command option as defined in dsGetCommandOptionResult_e

Gets the 16-bit signed integer, also called Int16, value of the specified command option for the document.

# Syntax

Visual Basic |
--- | ---
    Sub GetCommandOptionInt16( _
       ByVal Var As dsCommandOptionInt16_e, _
       ByRef Value As System.Integer, _
       ByRef Result As dsGetCommandOptionResult_e _
    )

C# |
--- | ---
    void GetCommandOptionInt16(
       dsCommandOptionInt16_e Var,
       out System.int Value,
       out dsGetCommandOptionResult_e Result
    )

JavaScript |
--- | ---
    GetCommandOptionInt16(
       Var : String
    ) : {
       Value : Number,
       Result : String
    }

COM native C++ |
--- | ---
    HRESULT GetCommandOptionInt16(
       dsCommandOptionInt16_e Var,
       LONG* Value,
       dsGetCommandOptionResult_e* Result
    )

C++ |
--- | ---
    DSRESULT GetCommandOptionInt16(
       dsCommandOptionInt16_e Var,
       long* Value,
       dsGetCommandOptionResult_e* Result
    )

#### Parameters

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

# Example

Get and Set Command Options (C#)
Get and Set Command Options (VB.NET)
Get and Set Command Options (VBA)

# See Also

####

IDocument Interface
IDocument Members
IDocument::SetCommandOptionInt16 Method
IApplicationOptions::GetApplicationOptionInt16 Method ()
IApplicationOptions::SetApplicationOptionInt16 Method ()

# Availability

DraftSight V1R1.1