SetCommandOptionDouble Method (IDocument)

SetCommandOptionDouble Method (IDocument) | Send Feedback
See Also Example

Var
  Command option as defined in dsCommandOptionDouble_e

Value
  Double value for the specified command option

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

Sets the double value for the specified command option for the document.

# Syntax

Visual Basic |
--- | ---
    Sub SetCommandOptionDouble( _
       ByVal Var As dsCommandOptionDouble_e, _
       ByVal Value As System.Double, _
       ByRef Result As dsSetCommandOptionResult_e _
    )

C# |
--- | ---
    void SetCommandOptionDouble(
       dsCommandOptionDouble_e Var,
       System.double Value,
       out dsSetCommandOptionResult_e Result
    )

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

COM native C++ |
--- | ---
    HRESULT SetCommandOptionDouble(
       dsCommandOptionDouble_e Var,
       DOUBLE Value,
       dsSetCommandOptionResult_e* Result
    )

C++ |
--- | ---
    DSRESULT SetCommandOptionDouble(
       dsCommandOptionDouble_e Var,
       double Value,
       dsSetCommandOptionResult_e* Result
    )

#### Parameters

Var
  Command option as defined in dsCommandOptionDouble_e
Value
  Double value for the specified command option
Result[out] or Return Value
  Status of setting the double 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)
Fillet and Stretch Sketch Entities (JavaScript)

# See Also

####

IDocument Interface
IDocument Members
IDocument::GetCommandOptionDouble Method
IApplicationOptions::SetApplicationOptionDouble Method ()
IApplicationOptions::GetApplicationOptionDouble Method ()

# Availability

DraftSight V1R1.1