ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout
Zoom Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout Namespace > PageLayout Class : Zoom Method




screenExtent
Screen rectangle in pixels.
zoomIn
True to zoom in, False to zoom out.
Zooms the map in the layout in or out based on the screen rectangle.

Syntax

Visual Basic (Declaration) 
Public Sub Zoom( _
   ByVal screenExtent As Rectangle, _
   ByVal zoomIn As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As PageLayout
Dim screenExtent As Rectangle
Dim zoomIn As Boolean
 
instance.Zoom(screenExtent, zoomIn)
C# 
public void Zoom( 
   Rectangle screenExtent,
   bool zoomIn
)

Parameters

screenExtent
Screen rectangle in pixels.
zoomIn
True to zoom in, False to zoom out.

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.