GoDiagram Win Reference
DrawXorBox Method

The size and location of the rectangle to draw, in view coordinates.
Whether to draw the new rectangle.
This convenience method erases any previous XOR-drawn rectangle and then may draw a new one with the given dimensions.
Syntax
'Declaration
 
Public Overridable Sub DrawXorBox( _
   ByVal rect As Rectangle, _
   ByVal drawnew As Boolean _
) 
public virtual void DrawXorBox( 
   Rectangle rect,
   bool drawnew
)

Parameters

rect
The size and location of the rectangle to draw, in view coordinates.
drawnew
Whether to draw the new rectangle.
Remarks

This always erases any earlier rectangle drawn by this method. It only draws a new rectangle if drawnew is true.

If DrawsXorMode is false, this draws a rectangle using a checkerboard pen, instead of drawing in XOR mode.

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

GoView Class
GoView Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback