ESRI.ArcGIS.ADF.Web
GetCenterPoint Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.Display.Drawing Namespace > DrawingUtility Class : GetCenterPoint Method




rect
The rectangle.
Gets the center point of the rectangle.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetCenterPoint( _
   ByVal rect As Rectangle _
) As Point
Visual Basic (Usage)Copy Code
Dim rect As Rectangle
Dim value As Point
 
value = DrawingUtility.GetCenterPoint(rect)
C# 
public static Point GetCenterPoint( 
   Rectangle rect
)

Parameters

rect
The rectangle.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.