ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout
Zoom Method
See Also 
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.

See Also

© 2010 All Rights Reserved.