Class CIMTextMargin
Represents a text margin which defines the margin to apply around text.
public class CIMTextMargin : CIMObject
- Inheritance
-
CIMTextMargin
- Inherited Members
Constructors
CIMTextMargin()
public CIMTextMargin()
Properties
Bottom
Gets or sets the bottom margin.
public double Bottom { get; set; }
Property Value
Left
Gets or sets the left margin.
public double Left { get; set; }
Property Value
Right
Gets or sets the right margin.
public double Right { get; set; }
Property Value
Top
Gets or sets the top margin.
public double Top { get; set; }
Property Value
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMTextMargin with a specified state from a JSON encoding.
public static CIMTextMargin FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMTextMargin state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMTextMargin and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.