GoDiagram Web Reference
PaintGreek Method (GoPort)

Because ports are normally small objects, we heed the GoView.PaintNothingScale and GoView.PaintGreekScale properties.
Syntax
'Declaration
 
Public Overridable Function PaintGreek( _
   ByVal g As Graphics, _
   ByVal view As GoView _
) As Boolean
public virtual bool PaintGreek( 
   Graphics g,
   GoView view
)

Parameters

g
view
Remarks
Greeking of a port is accomplished by just drawing a rectangle with the port's bounds. If GoView.IsPrinting is true, we reduce the scales at which we paint nothing or paint greek, so that the printed representation will have more detail than the on-screen one.
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

GoPort Class
GoPort Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback