ACadSharp.Tables.DimensionStyle.ScaleFactor - DomCR/ACadSharp GitHub Wiki

ScaleFactor Property

Gets or sets the overall scale factor applied to dimensioning variables that specify sizes, distances, or offsets (see DIMSCALE System Variable).

Remarks

This ScaleFactor does not affect measured lengths, coordinates, or angles. Use ScaleFactor to control the overall scale of dimensions. However, if the current dimension style is annotative, ScaleFactor is automatically set to zero and the dimension scale is controlled by the CANNOSCALE system variable. ScaleFactor cannot be set to a non-zero value when using annotative dimensions. Also affects the leader objects with the LEADER command. Use MLEADERSCALE to scale multileader objects created with the MLEADER command.

Definition

Namespace: ACadSharp.Tables.DimensionStyle

C#

DxfCodeValueAttribute
public Double ScaleFactor { get; set; }

Property Value

Double

Value

0.0 A reasonable default value is computed based on the scaling between the current model space viewport and paper space. If you are in paper space or model space and not using the paper space feature, the scale factor is 1.0. >0 A scale factor is computed that leads text sizes, arrowhead sizes, and other scaled distances to plot at their face values.
⚠️ **GitHub.com Fallback** ⚠️