GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoView Class / ConvertViewToDoc Method / ConvertViewToDoc(Rectangle) Method
A Rectangle in view coordinates.
In This Topic
    ConvertViewToDoc(Rectangle) Method
    In This Topic
    Given a rectangle in this view, calculate the corresponding rectangle in the view's document.
    Syntax
    public virtual RectangleF ConvertViewToDoc( 
       Rectangle r
    )

    Parameters

    r
    A Rectangle in view coordinates.

    Return Value

    The corresponding RectangleF in document coordinates.
    Remarks
    This method takes this view's current position in the document, and the current view scale, into account when computing the transformation from view coordinates to document coordinates.
    See Also