SetApplicationOptionString Method (IApplicationOptions)

SetApplicationOptionString Method (IApplicationOptions) | Send Feedback
See Also

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

Var
  Command option as defined in dsApplicationOptionString_e

Value
  String value for the specified command option

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

# Syntax

Visual Basic |
--- | ---
    Function SetApplicationOptionString( _
       ByVal Var As dsApplicationOptionString_e, _
       ByVal Value As System.String _
    ) As dsSetApplicationOptionResult_e

C# |
--- | ---
    dsSetApplicationOptionResult_e SetApplicationOptionString(
       dsApplicationOptionString_e Var,
       System.string Value
    )

JavaScript |
--- | ---
    SetApplicationOptionString(
       Var : String,
       Value : String
    ) : String

COM native C++ |
--- | ---
    HRESULT SetApplicationOptionString(
       dsApplicationOptionString_e Var,
       BSTR Value,
       dsSetApplicationOptionResult_e* Result
    )

C++ |
--- | ---
    DSRESULT SetApplicationOptionString(
       dsApplicationOptionString_e Var,
       const dsString& Value,
       dsSetApplicationOptionResult_e* Result
    )

#### Parameters

Var
  Command option as defined in dsApplicationOptionString_e
Value
  String value for the specified command option
Result[out] or Return Value
  Status of setting the string value of the command option as defined in dsSetApplicationOptionResult_e

# See Also

####

IApplicationOptions Interface
IApplicationOptions Members
IApplicationOptions::GetApplicationOptionString Method ()
IDocument::SetCommandOptionString Method ()
IDocument::GetCommandOptionString Method ()

# Availability

DraftSight V1R5.0