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




rect
The rectangle.
Gets the max centered square of the rectangle.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetMaxCenteredSquare( _
   ByVal rect As Rectangle _
) As Rectangle
Visual Basic (Usage)Copy Code
Dim rect As Rectangle
Dim value As Rectangle
 
value = DrawingUtility.GetMaxCenteredSquare(rect)
C# 
public static Rectangle GetMaxCenteredSquare( 
   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.