ArcObjects Library Reference (Carto)  

ScaleLine CoClass

A map surround for displaying a scale line.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Interfaces

Interfaces Description
IBoundsProperties Provides access to members that control Bounds Properties.
IClone (esriSystem) Provides access to members that control cloning of objects.
IConnectionPointContainer Supports connection points for connectable objects.
IGraphicsComposite Provides access to members that control objects that are composed of graphic elements.
IMapSurround Provides access to members that control the map surround.
IPersist Defines the single method GetClassID, which is designed to supply the CLSID of an object that can be stored persistently in the system. IPersist is the base interface for three other interfaces: IPersistStorage, IPersistStream, and IPersistFile.
IPersistStream (esriSystem)
IPropertySupport (esriSystem) Provides access to members that set a default property on an object.
IQuerySize Provides access to means to getting the size of an element.
IScaleBar Provides access to members that control the scalebar map surrounds.
IScaleLine Provides access to members that control a line scale bar.
IScaleMarks Provides access to members that control the scale bar mark properties.
ITransformEvents (esriDisplay) Provides access to members that control Transform Events.

Event Interfaces

Interfaces Description
IMapSurroundEvents (default) Provides access to events that occur when the state of the map surrounds changes.

Working with Events

[Visual Basic 6.0]

When working with ScaleLine's default outbound interface in Visual Basic 6 declare variables as follows:

Private WithEvents pScaleLine as ScaleLine