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

ITextElement.ScaleText Property (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IT > ITextElement Interface > ITextElement.ScaleText Property
ArcGIS Developer Help

ITextElement.ScaleText Property

Indicates if the text scales with the map.

[Visual Basic .NET]
Public Property ScaleText As Boolean
public bool ScaleText {get; set;}
HRESULT get_ScaleText(
  Boolean* Scale
HRESULT put_ScaleText(
Scale [out, retval]

Scale is a parameter of type bool* Scale [in]
Scale is a parameter of type bool

Product Availability

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


The ScaleText property specifies whether or not the size of the TextElement should change when the scale of the map changes.  If the ScaleText property is set to True, then the size of the text will increase or decrease along with the scale of the map.  If the property is False, then the size will remain constant.

The actual size of the text on the screen is based on the Symbol property of the TextElement and the setting of the ScaleText property.  When the ScaleText property is True, the size of the TextElement will be a combination of the Symbol property, the reference scale for the layer, and the current scale of the map.

See Also

ITextElement Interface