GoDiagram Win Reference
GetPaintBounds Method

The specified GoRulerCursor.
The measure, in pixels, at which the GoRulerCursor is representing a value.
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
'Declaration
 
Public Overridable Function GetPaintBounds( _
   ByVal ruler As GoRuler, _
   ByVal pixelPosition As Single _
) As Rectangle
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.
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

GoRulerCursor Class
GoRulerCursor Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback