GoDiagram Web Reference
ConvertDocToView(RectangleF) Method

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

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback