GoDiagram Web Reference
LimitDocPosition Method

This method is called when setting the DocPosition property to make sure the view only takes reasonable, desired positions.
Syntax
'Declaration
 
Public Overridable Function LimitDocPosition( _
   ByVal p As PointF _
) As PointF
public virtual PointF LimitDocPosition( 
   PointF p
)

Parameters

p
Remarks
By default this method tries to keep the view within the document. However, when the SheetStyle is not GoViewSheetStyle.None, there are no limits--the DocumentTopLeft and DocumentSize properties automatically adjust themselves to accomodate viewing any part of the document or the Sheet at any DocScale given the size of this view control.
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

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback