GoDiagram Win Reference
CanView Method

Called to see if the user can see this object.
Syntax
'Declaration
 
Public Overridable Function CanView() As Boolean
public virtual bool CanView()
Remarks
This returns true if Visible, if its parent is visible, and if this object is part of a layer, if Layer.CanViewObjects is true. This predicate is used by methods such as Paint and Pick. Painting operations may also want to call CanPrint if the painting is occurring for a view that is printing.
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

GoObject Class
GoObject Members
Visible Property
CanViewObjects Method

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback