Class CIMCompositeTextPartPosition
Represents the text part position properties on a callout part.
public class CIMCompositeTextPartPosition : CIMObject
- Inheritance
-
CIMCompositeTextPartPosition
- Inherited Members
Constructors
CIMCompositeTextPartPosition()
public CIMCompositeTextPartPosition()
Properties
HorizontalAlignment
Gets or sets the horizontal alignment of the text part.
public HorizontalAlignment HorizontalAlignment { get; set; }
Property Value
IsPartWithinCalloutBox
Gets or sets a value indicating whether the text part will be contained within the main callout. If this is set to true, the main callout will expand to encompass this text part, and a line will be draw separating the part from the rest of the callout. This line will have the same symbol as the callout outline and will only draw if the text part is above or below the top and bottom margins of the middle text.
public bool IsPartWithinCalloutBox { get; set; }
Property Value
SplitOffset
Gets or sets the split offset of the text part. This determines how much of a gap there is between the callout border and any part of the text part intersecting the border If this is set to wider than the callout width, none of the associated callout line will draw.
public double SplitOffset { get; set; }
Property Value
VerticalAlignment
Gets or sets the vertical alignment of the text part.
public VerticalAlignment VerticalAlignment { get; set; }
Property Value
XOffset
Gets or sets the X offset of the text part.
public double XOffset { get; set; }
Property Value
YOffset
Gets or sets the Y offset of the text part.
public double YOffset { get; set; }
Property Value
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMCompositeTextPartPosition with a specified state from a JSON encoding.
public static CIMCompositeTextPartPosition FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMCompositeTextPartPosition state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMCompositeTextPartPosition and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.