ESRI.ArcGIS.ADF.Web.UI.WebControls
Print(String[],Envelope,Int32,Int32,Int32,Boolean,Boolean) Method
See Also  Send Feedback
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 ESRI.ArcGIS.ADF.Web.Geometry.Envelope, _
   ByVal imageWidth As Integer, _
   ByVal imageHeight As Integer, _
   ByVal dpi As Integer, _
   ByVal resourcesTopToBottom As Boolean, _
   ByVal drawIfResolutionUnavailable As Boolean _
) As ESRI.ArcGIS.ADF.Web.MapImage
Visual Basic (Usage)Copy Code
Dim instance As MapDrawUtility
Dim resourceNames() As String
Dim extent As ESRI.ArcGIS.ADF.Web.Geometry.Envelope
Dim imageWidth As Integer
Dim imageHeight As Integer
Dim dpi As Integer
Dim resourcesTopToBottom As Boolean
Dim drawIfResolutionUnavailable As Boolean
Dim value As ESRI.ArcGIS.ADF.Web.MapImage
 
value = instance.Print(resourceNames, extent, imageWidth, imageHeight, dpi, resourcesTopToBottom, drawIfResolutionUnavailable)
C# 
public ESRI.ArcGIS.ADF.Web.MapImage Print( 
   string[] resourceNames,
   ESRI.ArcGIS.ADF.Web.Geometry.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.

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.