Click or drag to resize

ScaleBar Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
A ScaleBar shows the scale of a map with automatic scale marks.
Inheritance Hierarchy
SystemObject
  Telogis.GeoBase.ImageUtilsScaleBar

Namespace:  Telogis.GeoBase.ImageUtils
Assembly:  geobase.net (in geobase.net.dll) Version: 4.84.0.0
Syntax
public class ScaleBar

The ScaleBar type exposes the following members.

Constructors
  NameDescription
Public methodScaleBar
Initialize with Arial 7 point Font.
Public methodScaleBar(Font)
Initialize with the given Font
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetImage
Draw a scalebar with the given width and height, representing the pixel size in miles.
Public methodGetType (Inherited from Object.)
Public methodSetUnitAbbreviation
Set the abbreviation used for a certain unit. Useful for changing abbreviations for different cultures. The default abbreviations for all distance units are SI abbreviations
Public methodToString (Inherited from Object.)
Top
Remarks
Once constructed, the GetImage(Double, Int32, Int32, Color, Color) method can be used to get an Image of the scale bar with the desired parameters.
See Also