ESRI.ArcGIS.ADF.Web.UI.WebControls
Draw(Map,String,Int32,Int32,Int32) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Navigation Class > Draw Method : Draw(Map,String,Int32,Int32,Int32) Method




map
Map control to define rotation if any.
fontName
Name of font to be used to render north arrow image.
fontCharacter
Numeric character value within font to use for north arrow image.
dpi
DPI to use while rendering image.
width
Width in pixels used to render the north arrow.
Draws the navigation control and stores the result in a cartographic image object.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function Draw( _
   ByVal map As Map, _
   ByVal fontName As String, _
   ByVal fontCharacter As Integer, _
   ByVal dpi As Integer, _
   ByVal width As Integer _
) As ESRI.ArcGIS.ADF.Web.CartoImage
Visual Basic (Usage)Copy Code
Dim map As Map
Dim fontName As String
Dim fontCharacter As Integer
Dim dpi As Integer
Dim width As Integer
Dim value As ESRI.ArcGIS.ADF.Web.CartoImage
 
value = Navigation.Draw(map, fontName, fontCharacter, dpi, width)
C# 
public static ESRI.ArcGIS.ADF.Web.CartoImage Draw( 
   Map map,
   string fontName,
   int fontCharacter,
   int dpi,
   int width
)

Parameters

map
Map control to define rotation if any.
fontName
Name of font to be used to render north arrow image.
fontCharacter
Numeric character value within font to use for north arrow image.
dpi
DPI to use while rendering image.
width
Width in pixels used to render the north arrow.

Return Value

Cartographic object that encapsulates the north arrow 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.