ESRI.ArcGIS.ADF.Web.UI.WebControls
Print(String[],Envelope,Int32,Int32,Int32,Boolean,Boolean) Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > MapDrawUtility Class > Print Method : Print(String[],Envelope,Int32,Int32,Int32,Boolean,Boolean) Method




resourceNames
The names of the resources to draw.
extent
Extent to draw
imageWidth
Width of output image
imageHeight
Height of output image
dpi
Dpi of output image
resourcesTopToBottom
Are resources in top to bottom order?
drawIfResolutionUnavailable
draw if available
Prints the specified map resources into one map image

Syntax

Visual Basic (Declaration) 
Public Overloads Function Print( _
   ByVal resourceNames() As String, _
   ByVal extent As Envelope, _
   ByVal imageWidth As Integer, _
   ByVal imageHeight As Integer, _
   ByVal dpi As Integer, _
   ByVal resourcesTopToBottom As Boolean, _
   ByVal drawIfResolutionUnavailable As Boolean _
) As MapImage
Visual Basic (Usage)Copy Code
Dim instance As MapDrawUtility
Dim resourceNames() As String
Dim extent As Envelope
Dim imageWidth As Integer
Dim imageHeight As Integer
Dim dpi As Integer
Dim resourcesTopToBottom As Boolean
Dim drawIfResolutionUnavailable As Boolean
Dim value As MapImage
 
value = instance.Print(resourceNames, extent, imageWidth, imageHeight, dpi, resourcesTopToBottom, drawIfResolutionUnavailable)
C# 
public MapImage Print( 
   string[] resourceNames,
   Envelope extent,
   int imageWidth,
   int imageHeight,
   int dpi,
   bool resourcesTopToBottom,
   bool drawIfResolutionUnavailable
)

Parameters

resourceNames
The names of the resources to draw.
extent
Extent to draw
imageWidth
Width of output image
imageHeight
Height of output image
dpi
Dpi of output image
resourcesTopToBottom
Are resources in top to bottom order?
drawIfResolutionUnavailable
draw if available

Return Value

A MapImage object with the generated map image.

See Also

© 2010 All Rights Reserved.