GoDiagram Win Reference
DrawMarks Method

The Graphics object used to draw the divisions.
The back color.
Draws all of the tick marks onto the ruler.
Syntax
'Declaration
 
Protected Overridable Sub DrawMarks( _
   ByVal g As Graphics, _
   ByVal backBrush As Brush _
) 
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 Numbered is true.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoRuler Class
GoRuler Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback