This document is archived and information here might be outdated.  Recommended version.


IScaleText2 Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IScaleText2 Interface

Provides access to members that control the scale text.

Product Availability

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

Description

This interface is new at ArcGIS 9.3. It supersedes IScaleText.

Members

Description
Method DelayEvents Used to batch operations together to minimize notifications.
Method Draw Draws the map surround into the specified display bounds.
Method FitToBounds Adjusts the map surround to fit the bounds. The changed argument indicates whether the size of the map surround was changed.
Read/write property Format Format of the scale text. Style must be set to custom.
Read-only property Icon Icon used to represent the map surround.
Read/write property Map The parent map.
Read/write property MapUnitLabel Map unit label of the scale text. Style must be set to relative.
Read/write property MapUnits Map units of the scale text. Style must be set to custom.
Read/write property Name Name of the map surround.
Read/write property NumberFormat Number formatting.
Read/write property PageUnitLabel Page unit label of the scale text. Style must be set to relative.
Read/write property PageUnits Page units of the scale text. Style must be set to custom.
Method QueryBounds Returns the bounds of the map surround.
Method Refresh Makes sure the latest updates are refected the next time the Map Surround is drawn.
Read/write property Separator Character(s) used to separate '1' from the scale in an absolute scale, i.e., the ':' in 1:20000. Also used for 'equals' in relative scale texts.
Read/write property Style Style of the scale text.
Read/write property Symbol Symbol of the scale text.
Read-only property Text The scale text.

Inherited Interfaces

Interfaces Description
IMapSurround Provides access to members that control the map surround.

CoClasses that implement IScaleText2

CoClasses and Classes Description
ScaleText A map surround for displaying a scale text.