GoDigram for .NET Framework and .NET Core
Northwoods.Go.Draw Namespace / GoRuler Class / 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
In This Topic
    DrawNumber Method
    In This Topic
    Draws a specified number onto the ruler at a specified measure.
    Syntax
    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
    See Also