Class CIMDimensionStyle

Namespace
ESRI.ArcGIS.CIM
Assembly
ESRI.Server.CIM.dll

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

bool

BaselineHeight

Gets or sets the height of the construction for creating baseline dimensions with this style.

public double BaselineHeight { get; set; }

Property Value

double

BeginMarkerSymbol

Gets or sets the symbol used for the begin arrow.

public CIMPointSymbol BeginMarkerSymbol { get; set; }

Property Value

CIMPointSymbol

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

bool

DimensionLineOption

Gets or sets the dimension line display of the style.

public DimensionPartOptions DimensionLineOption { get; set; }

Property Value

DimensionPartOptions

DimensionLineSymbol

Gets or sets the symbol used for the dimension line.

public CIMLineSymbol DimensionLineSymbol { get; set; }

Property Value

CIMLineSymbol

DisplayPrecision

Gets or sets the precision for the value displayed by the dimension text.

public int DisplayPrecision { get; set; }

Property Value

int

DisplayUnits

Gets or sets the units the length of the dimension text is displayed in.

public IUnit DisplayUnits { get; set; }

Property Value

IUnit

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

bool

EndMarkerSymbol

Gets or sets the symbol used for the end arrow.

public CIMPointSymbol EndMarkerSymbol { get; set; }

Property Value

CIMPointSymbol

Expression

Gets or sets the text expression for the style.

public string Expression { get; set; }

Property Value

string

ExpressionParserName

Gets or sets the text expression parser for the text expression for the style.

public string ExpressionParserName { get; set; }

Property Value

string

ExpressionTitle

Gets or sets the human readable text title that describes the dimension expression.

public string ExpressionTitle { get; set; }

Property Value

string

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

bool

ExtensionLineOffset

Gets or sets the length of the extension line offset.

public double ExtensionLineOffset { get; set; }

Property Value

double

ExtensionLineOption

Gets or sets the extension line display options of the style.

public DimensionPartOptions ExtensionLineOption { get; set; }

Property Value

DimensionPartOptions

ExtensionLineOvershot

Gets or sets the length of the extension line overshot.

public double ExtensionLineOvershot { get; set; }

Property Value

double

ExtensionLineSymbol

Gets or sets the symbol used for extension lines.

public CIMLineSymbol ExtensionLineSymbol { get; set; }

Property Value

CIMLineSymbol

ID

Gets or sets the ID of the style.

public int ID { get; set; }

Property Value

int

MarkerFit

Gets or sets the arrow fit policy of the style.

public DimensionMarkerFit MarkerFit { get; set; }

Property Value

DimensionMarkerFit

MarkerFitTolerance

Gets or sets the arrow fit tolerance of the style.

public double MarkerFitTolerance { get; set; }

Property Value

double

MarkerOption

Gets or sets the arrow display properties of the style.

public DimensionPartOptions MarkerOption { get; set; }

Property Value

DimensionPartOptions

Name

Gets or sets the name of the style.

public string Name { get; set; }

Property Value

string

Prefix

Gets or sets the prefix for the text expression for the style.

public string Prefix { get; set; }

Property Value

string

Suffix

Gets or sets the suffix for the text expression for the style.

public string Suffix { get; set; }

Property Value

string

TextFit

Gets or sets the text fit policy for the style.

public DimensionTextFit TextFit { get; set; }

Property Value

DimensionTextFit

TextOption

Gets or sets the text display option for the style.

public DimensionTextOption TextOption { get; set; }

Property Value

DimensionTextOption

TextSymbol

Gets or sets the text symbol used for the text.

public CIMTextSymbol TextSymbol { get; set; }

Property Value

CIMTextSymbol

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

json string

The JSON string containing the CIMDimensionStyle state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMDimensionStyle

ToJson(JsonSerializationSettings)

Creates a JSON encoding of the CIMDimensionStyle and its current state.

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string