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

    Parameters

    r
    A RectangleF in document coordinates.

    Return Value

    The corresponding Rectangle in view 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 document coordinates to view coordinates. Note that because documents are often larger than the views, many object positions will often have corresponding view positions outside the view's client area.
    See Also