ESRI.ArcGIS.ADF.Web.UI.WebControls
Draw(Map,String,Int32,Int32,Int32) Method
See Also 
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 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 CartoImage
 
value = Navigation.Draw(map, fontName, fontCharacter, dpi, width)
C# 
public static 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.

See Also

© 2010 All Rights Reserved.