GoDiagram Web Reference
ConvertViewToDoc(Rectangle) Method

A Rectangle in view coordinates.
Given a rectangle in this view, calculate the corresponding rectangle in the view's document.
Syntax
'Declaration
 
Public Overloads Overridable Function ConvertViewToDoc( _
   ByVal r As Rectangle _
) As RectangleF
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.
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
Overload List
ConvertDocToView(RectangleF) Method

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback