SetLengthUnitExpression Method (IDocument)

SetLengthUnitExpression Method (IDocument) | Send Feedback
See Also Example

LengthType
  Type of linear unit as defined in dsLengthType_e

Precision
  Precision as defined in dsUnitPrecision_e

Sets the type of linear unit and its precision for the document.

# Syntax

Visual Basic |
--- | ---
    Sub SetLengthUnitExpression( _
       ByVal LengthType As dsLengthType_e, _
       ByVal Precision As dsUnitPrecision_e _
    )

C# |
--- | ---
    void SetLengthUnitExpression(
       dsLengthType_e LengthType,
       dsUnitPrecision_e Precision
    )

JavaScript |
--- | ---
    SetLengthUnitExpression(
       LengthType : String,
       Precision : String
    )

COM native C++ |
--- | ---
    HRESULT SetLengthUnitExpression(
       dsLengthType_e LengthType,
       dsUnitPrecision_e Precision
    )

C++ |
--- | ---
    DSRESULT SetLengthUnitExpression(
       dsLengthType_e LengthType,
       dsUnitPrecision_e Precision
    )

#### Parameters

LengthType
  Type of linear unit as defined in dsLengthType_e
Precision
  Precision as defined in dsUnitPrecision_e

# Example

Get and Set Document Settings (C#)
Get and Set Document Settings (VB.NET)
Get and Set Document Settings (VBA)

# See Also

####

IDocument Interface
IDocument Members
IDocument::GetLengthUnitExpression Method

# Availability

DraftSight V1R1