GetDimensionScale Method (IDimensionStyleFitOptions)

GetDimensionScale Method (IDimensionStyleFitOptions) | Send Feedback
See Also Example

DimensionScaleMethod[out]
  How to scale Dimensions as defined in dsDimensionScale_e

ScaleFactor[out]
  Scale factor if DimensionScaleMethod is set to dsDimensionScale_UseScaleFactor

Gets how to scale Dimensions if there is not enough space for text and arrows between the extension lines.

# Syntax

Visual Basic |
--- | ---
    Sub GetDimensionScale( _
       ByRef DimensionScaleMethod As dsDimensionScale_e, _
       ByRef ScaleFactor As System.Double _
    )

C# |
--- | ---
    void GetDimensionScale(
       out dsDimensionScale_e DimensionScaleMethod,
       out System.double ScaleFactor
    )

JavaScript |
--- | ---
    GetDimensionScale(
    ) : {
       DimensionScaleMethod : String,
       ScaleFactor : Number
    }

COM native C++ |
--- | ---
    HRESULT GetDimensionScale(
       dsDimensionScale_e* DimensionScaleMethod,
       DOUBLE* ScaleFactor
    )

C++ |
--- | ---
    DSRESULT GetDimensionScale(
       dsDimensionScale_e* DimensionScaleMethod,
       double* ScaleFactor
    )

#### Parameters

DimensionScaleMethod[out]
  How to scale Dimensions as defined in dsDimensionScale_e
ScaleFactor[out] or Return Value
  Scale factor if DimensionScaleMethod is set to dsDimensionScale_UseScaleFactor

# Example

Get DimensionStyle Names and Options (C#)
Get DimensionStyle Names and Options (VB.NET)
Get DimensionStyle Names and Options (VBA)
Get DimensionStyle Names and Options (JavaScript)

# See Also

####

IDimensionStyleFitOptions Interface
IDimensionStyleFitOptions Members

# Availability

DraftSight V1R1.2