GoDiagram Win Reference
DrawNumber Method

The Graphics object used to draw the text.
The back color.
The text color
The StringFormat for displaying the text.
the GoRulerMark describing this kind of mark
the value at which to draw the line, and the value passed to String.Format
Draws a specified number onto the ruler at a specified measure.
Syntax
'Declaration
 
Protected Overridable Sub DrawNumber( _
   ByVal g As Graphics, _
   ByVal backBrush As Brush, _
   ByVal textBrush As Brush, _
   ByVal sf As StringFormat, _
   ByVal rm As GoRulerMark, _
   ByVal number As Double _
) 
protected virtual void DrawNumber( 
   Graphics g,
   Brush backBrush,
   Brush textBrush,
   StringFormat sf,
   GoRulerMark rm,
   double number
)

Parameters

g
The Graphics object used to draw the text.
backBrush
The back color.
textBrush
The text color
sf
The StringFormat for displaying the text.
rm
the GoRulerMark describing this kind of mark
number
the value at which to draw the line, and the value passed to String.Format
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