ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout
PageZoom(Double,Int32,Int32) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > WebPageLayout Class > PageZoom Method : PageZoom(Double,Int32,Int32) Method




factor
Factor to zoom by. Use a factor greater than 1 to zoom in, a factor less than 1 to zoom out.
x
X coordinate to center at, in pixels.
y
Y coordinate to center at, in pixels.
Draws the page layout after expanding its extent by the factor provided and centering it at the coordinates provided.

Syntax

Visual Basic (Declaration) 
Public Overloads Function PageZoom( _
   ByVal factor As Double, _
   ByVal x As Integer, _
   ByVal y As Integer _
) As ESRI.ArcGIS.ADF.Web.LayoutImage
Visual Basic (Usage)Copy Code
Dim instance As WebPageLayout
Dim factor As Double
Dim x As Integer
Dim y As Integer
Dim value As ESRI.ArcGIS.ADF.Web.LayoutImage
 
value = instance.PageZoom(factor, x, y)
C# 
public ESRI.ArcGIS.ADF.Web.LayoutImage PageZoom( 
   double factor,
   int x,
   int y
)

Parameters

factor
Factor to zoom by. Use a factor greater than 1 to zoom in, a factor less than 1 to zoom out.
x
X coordinate to center at, in pixels.
y
Y coordinate to center at, in pixels.

Return Value

The result of the draw.

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.