GetLengthUnitExpression Method (IDocument)

GetLengthUnitExpression Method (IDocument) | Send Feedback
See Also Example

LengthType[out]
  Type of linear unit as defined in dsLengthType_e

Precision[out]
  Precision as defined in dsUnitPrecision_e

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

# Syntax

Visual Basic |
--- | ---
    Sub GetLengthUnitExpression( _
       ByRef LengthType As dsLengthType_e, _
       ByRef Precision As dsUnitPrecision_e _
    )

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

JavaScript |
--- | ---
    GetLengthUnitExpression(
    ) : {
       LengthType : String,
       Precision : String
    }

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

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

#### Parameters

LengthType[out]
  Type of linear unit as defined in dsLengthType_e
Precision[out] or Return Value
  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::SetLengthUnitExpression Method

# Availability

DraftSight V1R1