ESRI.ArcGIS.ADF.Web.DataSources.IMS
GetMapDimensions Method
See Also 
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.

See Also

© 2010 All Rights Reserved.