Class CIMDimensionStyle
Represents an dimension style which defines dimension appearance.
public class CIMDimensionStyle : CIMObject
- Inheritance
-
CIMDimensionStyle
- Inherited Members
Constructors
CIMDimensionStyle()
public CIMDimensionStyle()
Properties
Align
Gets or sets a value indicating whether the text should be aligned with the dimension line.
public bool Align { get; set; }
Property Value
BaselineHeight
Gets or sets the height of the construction for creating baseline dimensions with this style.
public double BaselineHeight { get; set; }
Property Value
BeginMarkerSymbol
Gets or sets the symbol used for the begin arrow.
public CIMPointSymbol BeginMarkerSymbol { get; set; }
Property Value
ConvertUnits
Gets or sets a value indicating whether the length of the dimension needs to be converted for display.
public bool ConvertUnits { get; set; }
Property Value
DimensionLineOption
Gets or sets the dimension line display of the style.
public DimensionPartOptions DimensionLineOption { get; set; }
Property Value
DimensionLineSymbol
Gets or sets the symbol used for the dimension line.
public CIMLineSymbol DimensionLineSymbol { get; set; }
Property Value
DisplayPrecision
Gets or sets the precision for the value displayed by the dimension text.
public int DisplayPrecision { get; set; }
Property Value
DisplayUnits
Gets or sets the units the length of the dimension text is displayed in.
public IUnit DisplayUnits { get; set; }
Property Value
DrawLineOnFit
Gets or sets a value indicating whether a dimension line should be drawn between the extension lines for an inward dimension.
public bool DrawLineOnFit { get; set; }
Property Value
EndMarkerSymbol
Gets or sets the symbol used for the end arrow.
public CIMPointSymbol EndMarkerSymbol { get; set; }
Property Value
Expression
Gets or sets the text expression for the style.
public string Expression { get; set; }
Property Value
ExpressionParserName
Gets or sets the text expression parser for the text expression for the style.
public string ExpressionParserName { get; set; }
Property Value
ExpressionTitle
Gets or sets the human readable text title that describes the dimension expression.
public string ExpressionTitle { get; set; }
Property Value
ExtendLineOnFit
Gets or sets a value indicating whether the dimension line will be extended to underline the text on inward dimensions.
public bool ExtendLineOnFit { get; set; }
Property Value
ExtensionLineOffset
Gets or sets the length of the extension line offset.
public double ExtensionLineOffset { get; set; }
Property Value
ExtensionLineOption
Gets or sets the extension line display options of the style.
public DimensionPartOptions ExtensionLineOption { get; set; }
Property Value
ExtensionLineOvershot
Gets or sets the length of the extension line overshot.
public double ExtensionLineOvershot { get; set; }
Property Value
ExtensionLineSymbol
Gets or sets the symbol used for extension lines.
public CIMLineSymbol ExtensionLineSymbol { get; set; }
Property Value
ID
Gets or sets the ID of the style.
public int ID { get; set; }
Property Value
MarkerFit
Gets or sets the arrow fit policy of the style.
public DimensionMarkerFit MarkerFit { get; set; }
Property Value
MarkerFitTolerance
Gets or sets the arrow fit tolerance of the style.
public double MarkerFitTolerance { get; set; }
Property Value
MarkerOption
Gets or sets the arrow display properties of the style.
public DimensionPartOptions MarkerOption { get; set; }
Property Value
Name
Gets or sets the name of the style.
public string Name { get; set; }
Property Value
Prefix
Gets or sets the prefix for the text expression for the style.
public string Prefix { get; set; }
Property Value
Suffix
Gets or sets the suffix for the text expression for the style.
public string Suffix { get; set; }
Property Value
TextFit
Gets or sets the text fit policy for the style.
public DimensionTextFit TextFit { get; set; }
Property Value
TextOption
Gets or sets the text display option for the style.
public DimensionTextOption TextOption { get; set; }
Property Value
TextSymbol
Gets or sets the text symbol used for the text.
public CIMTextSymbol TextSymbol { get; set; }
Property Value
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMDimensionStyle with a specified state from a JSON encoding.
public static CIMDimensionStyle FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMDimensionStyle state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMDimensionStyle and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.