CustomDashPattern

ILineFormat.CustomDashPattern property

Returns or sets the custom dash pattern. Each element represents the length of a dash or gap as a multiple of the line width. For example, 0.5 represents 50% of the line width, and 1.0 represents 100%. The maximum supported value for each element is approximately 21,474.84 times the line width. Read/write Single[].

public float[] CustomDashPattern { get; set; }

Exceptions

exceptioncondition
ArgumentOutOfRangeExceptionAn element of the assigned array is negative or non-finite, or its value exceeds MaxValue after conversion to thousandths of a percent.

See Also