GoDiagram Win Reference
Paint Method (GoRulerCursor)

The Graphics object to use when drawing.
The specified GoRuler.
The position, in pixels, that the GoRulerCursor represents.
Paints the GoRulerCursor at a particular position on the specified GoRuler using the given Graphics object.
Syntax
'Declaration
 
Public Overridable Sub Paint( _
   ByVal g As Graphics, _
   ByVal ruler As GoRuler, _
   ByVal pixelPosition As Single _
) 
public virtual void Paint( 
   Graphics g,
   GoRuler ruler,
   float pixelPosition
)

Parameters

g
The Graphics object to use when drawing.
ruler
The specified GoRuler.
pixelPosition
The position, in pixels, that the GoRulerCursor represents.
Remarks
By default this just draws a one-pixel wide line.
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