GoDiagram Web Reference
Paint Method (GoLayer)

Render all of the visible objects in this layer within a rectangle to a Graphics.
Syntax
'Declaration
 
Public Sub Paint( _
   ByVal g As Graphics, _
   ByVal view As GoView, _
   ByVal clipRect As RectangleF _
) 
public void Paint( 
   Graphics g,
   GoView view,
   RectangleF clipRect
)

Parameters

g
view
clipRect
Remarks
This method calls GoObject.Paint on each object in this layer whose GoObject.CanView property is true and whose paint bounds, calculated by calling GoObject.ExpandPaintBounds, intersects with clipRect. If GoView.IsPrinting is true, it calls GoObject.CanPrint on each object instead of calling GoObject.CanView. If CanViewObjects is false, or if GoView.IsPrinting is true and CanPrintObjects is false, this method does nothing.
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

GoLayer Class
GoLayer Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback