ESRI.ArcGIS.ADF.Web.UI.WebControls
Print(Envelope,Int32,Int32,Int32,WebImageFormat,Generic Dictionary) Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > MapDrawUtility Class > Print Method : Print(Envelope,Int32,Int32,Int32,WebImageFormat,Generic Dictionary) Method




extent
Extent to draw
imageWidth
Width of output image
imageHeight
Height of output image
dpi
Dpi of output image
imageFormat
Format of output image
exceptions
Output parameter that will contain any exceptions encountered.
Prints all of the resources in the map into one map image.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Print( _
   ByVal extent As Envelope, _
   ByVal imageWidth As Integer, _
   ByVal imageHeight As Integer, _
   ByVal dpi As Integer, _
   ByVal imageFormat As WebImageFormat, _
   ByRef exceptions As Dictionary _
) As MapImage
Visual Basic (Usage)Copy Code
Dim instance As MapDrawUtility
Dim extent As Envelope
Dim imageWidth As Integer
Dim imageHeight As Integer
Dim dpi As Integer
Dim imageFormat As WebImageFormat
Dim exceptions As Dictionary
Dim value As MapImage
 
value = instance.Print(extent, imageWidth, imageHeight, dpi, imageFormat, exceptions)
C# 
public MapImage Print( 
   Envelope extent,
   int imageWidth,
   int imageHeight,
   int dpi,
   WebImageFormat imageFormat,
   out Dictionary exceptions
)

Parameters

extent
Extent to draw
imageWidth
Width of output image
imageHeight
Height of output image
dpi
Dpi of output image
imageFormat
Format of output image
exceptions
Output parameter that will contain any exceptions encountered.

Return Value

A MapImage object with the generated map image.

See Also

© 2010 All Rights Reserved.