SetCommandOptionString Method (IDocument) Send Feedback
See Also  Example
Var
Command option as defined in dsCommandOptionString_e
Value
String value for the specified command option
Result[out]
Status of setting the string value of the command option as defined in dsSetCommandOptionResult_e
Sets the string value for the specified command option in the document.

Syntax

Visual Basic 
Sub SetCommandOptionString( _
   ByVal Var As dsCommandOptionString_e, _
   ByVal Value As System.String, _
   ByRef Result As dsSetCommandOptionResult_e _
) 
C# 
void SetCommandOptionString( 
   dsCommandOptionString_e Var,
   System.string Value,
   out dsSetCommandOptionResult_e Result
)
JavaScript 
SetCommandOptionString( 
   Var : String,
   Value : String
) : String
COM native C++ 
HRESULT SetCommandOptionString( 
   dsCommandOptionString_e Var,
   BSTR Value,
   dsSetCommandOptionResult_e* Result
) 
C++ 
DSRESULT SetCommandOptionString( 
   dsCommandOptionString_e Var,
   const dsString& Value,
   dsSetCommandOptionResult_e* Result
) 

Parameters

Var
Command option as defined in dsCommandOptionString_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 dsSetCommandOptionResult_e

Example

 

See Also

Availability

DraftSight V1R1.1