GoDigram for .NET Framework and .NET Core
Northwoods.Go.Draw Namespace / GoRuler Class / DrawMarks Method
The Graphics object used to draw the divisions.
The back color.
In This Topic
    DrawMarks Method
    In This Topic
    Draws all of the tick marks onto the ruler.
    Syntax
    protected virtual void DrawMarks( 
       Graphics g,
       Brush backBrush
    )

    Parameters

    g
    The Graphics object used to draw the divisions.
    backBrush
    The back color.
    Remarks
    This depends on the values of Intervals and Marks. At each interval it calls DrawMark. This also calls DrawNumber for a mark if GoRulerMark.Numbered is true.
    See Also