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.
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: C#
C#
In This Topic
DrawMarks Method
In This Topic
Draws all of the tick marks onto the ruler.
Syntax
C#
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
Reference
GoRuler Class
GoRuler Members