GoDigram for .NET Framework and .NET Core
Northwoods.Go.Draw Namespace / GoRuler Class / Marks Property
In This Topic
    Marks Property
    In This Topic
    Gets or sets the array of GoRulerMarks to use when drawing the intervals onto the ruler.
    Syntax
    [Description("The measurements used when drawing the intervals onto the ruler.")]
    [Category("Measurement")]
    public virtual GoRulerMark[] Marks {get; set;}

    Property Value

    The initial value is an array of four GoRulerMarks. They draw 100%, 60%, 40%, and 30% across. Only the first one has GoRulerMark.Numbered set to true.
    Remarks

    The Marks property determines the maximum amount of intervals will be shown on the ruler at any given time. Each GoRulerMark in the array determines how each interval mark will be drawn on the ruler.

    If Marks is null or contains no elements (Marks.Length == 0), then no interval marks will be drawn onto the ruler.

    See Also