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

Namespace:  Telogis.GeoBase.ImageUtils
Assembly: (in Version:
public class ScaleBar

The ScaleBar type exposes the following members.

Public methodScaleBar
Initialize with Arial 7 point Font.
Public methodScaleBar(Font)
Initialize with the given Font
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetImage
Draw a scalebar with the given width and height, representing the pixel size in miles.
Public methodGetType
Gets the Type of the current instance.
(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
Returns a string that represents the current object.
(Inherited from Object.)
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