GoDigram for .NET Framework and .NET Core
Northwoods.Go.Draw Namespace / GoRulerCursor Class / GetPaintBounds Method
The specified GoRulerCursor.
The measure, in pixels, at which the GoRulerCursor is representing a value.
In This Topic
    GetPaintBounds Method
    In This Topic
    Returns a Rectangle that represents the area on the specified GoRuler to invalidate for this GoRulerCursor. The exact position of the Rectangle to invalidate is determined by the pixelMeasure.
    Syntax
    public virtual Rectangle GetPaintBounds( 
       GoRuler ruler,
       float pixelPosition
    )

    Parameters

    ruler
    The specified GoRulerCursor.
    pixelPosition
    The measure, in pixels, at which the GoRulerCursor is representing a value.

    Return Value

    Returns a Rectangle representing the invalidation area.
    See Also