GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoView Class / LimitDocPosition Method
In This Topic
    LimitDocPosition Method
    In This Topic
    This method is called when setting the DocPosition property to make sure the view only takes reasonable, desired positions.
    Syntax
    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.
    See Also