Draws the scale bar with the input settings.
Syntax
Visual Basic (Declaration) | |
---|
Public Shared Function Draw( _
ByVal imageDescriptor As ESRI.ArcGIS.ADF.Web.ImageDescriptor, _
ByVal format As ESRI.ArcGIS.ADF.Web.ScaleBarFormat, _
ByVal scale As Double _
) As Bitmap |
Visual Basic (Usage) | Copy Code |
---|
Dim imageDescriptor As ESRI.ArcGIS.ADF.Web.ImageDescriptor
Dim format As ESRI.ArcGIS.ADF.Web.ScaleBarFormat
Dim scale As Double
Dim value As Bitmap
value = ScaleBarDrawingUtility.Draw(imageDescriptor, format, scale) |
Parameters
- imageDescriptor
- ImageDescriptor with settings for the scale bar such as height, width, transparency, and image format.
- format
- ScaleBarFormat with format of the scale bar including font and color of the bar and the bar units.
- scale
- Scale at which to draw the scalebar.
Return Value
Bitmap image of the scalebar.
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