ESRI.ArcGIS.ADF.Web.DataSources.IMS
GetMapDimensions Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.DataSources.IMS Namespace > MapFunctionality Class : GetMapDimensions Method




width
Output parameter: width of the map on the browser page, in pixels.
height
Output parameter: height of the map on the browser page, in pixels.
Gets the pixel dimensions of the Map associated with this MapFunctionality.

Syntax

Visual Basic (Declaration) 
Public Sub GetMapDimensions( _
   ByRef width As Integer, _
   ByRef height As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As MapFunctionality
Dim width As Integer
Dim height As Integer
 
instance.GetMapDimensions(width, height)
C# 
public void GetMapDimensions( 
   out int width,
   out int height
)

Parameters

width
Output parameter: width of the map on the browser page, in pixels.
height
Output parameter: height of the map on the browser page, in pixels.

Remarks

The dimensions are based on the size of the Map control that is referenced in the MapFunctionality's WebControl property.

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.