SetCommandOptionInt32 Method (IDocument)

SetCommandOptionInt32 Method (IDocument) | Send Feedback
See Also Example

Var
  Command option as defined in dsCommandOptionInt32_e

Value
  Int32 value for the specified command option

Result[out]
  Status of setting the Int32 value of the command option as defined in dsSetCommandOptionResult_e

Sets the 32-bit signed integer, also called Int32, value for the specified command option for the document.

# Syntax

Visual Basic |
--- | ---
    Sub SetCommandOptionInt32( _
       ByVal Var As dsCommandOptionInt32_e, _
       ByVal Value As System.Integer, _
       ByRef Result As dsSetCommandOptionResult_e _
    )

C# |
--- | ---
    void SetCommandOptionInt32(
       dsCommandOptionInt32_e Var,
       System.int Value,
       out dsSetCommandOptionResult_e Result
    )

JavaScript |
--- | ---
    SetCommandOptionInt32(
       Var : String,
       Value : Number
    ) : String

COM native C++ |
--- | ---
    HRESULT SetCommandOptionInt32(
       dsCommandOptionInt32_e Var,
       LONG Value,
       dsSetCommandOptionResult_e* Result
    )

C++ |
--- | ---
    DSRESULT SetCommandOptionInt32(
       dsCommandOptionInt32_e Var,
       long Value,
       dsSetCommandOptionResult_e* Result
    )

#### Parameters

Var
  Command option as defined in dsCommandOptionInt32_e
Value
  Int32 value for the specified command option
Result[out] or Return Value
  Status of setting the Int32 value of the command option as defined in dsSetCommandOptionResult_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::GetCommandOptionInt32 Method
IApplicationOptions::SetApplicationOptionInt32 Method ()
IApplicationOptions::GetApplicationOptionInt32 Method ()

# Availability

DraftSight V1R1.1