Class CIMMarkerPlacementOnLine
Represents a marker placement on the line.
public class CIMMarkerPlacementOnLine : CIMMarkerStrokePlacement
- Inheritance
-
CIMMarkerPlacementOnLine
- Inherited Members
Constructors
CIMMarkerPlacementOnLine()
public CIMMarkerPlacementOnLine()
Properties
RelativeTo
Gets or sets the location on a line where a marker will be placed. The direction of the line is determined by the direction in which the line was digitized.
public PlacementOnLineRelativeTo RelativeTo { get; set; }
Property Value
StartPointOffset
Gets or sets the distances from a specified location on a line that a marker will be placed.
public double StartPointOffset { get; set; }
Property Value
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMMarkerPlacementOnLine with a specified state from a JSON encoding.
public static CIMMarkerPlacementOnLine FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMMarkerPlacementOnLine state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMMarkerPlacementOnLine and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.