This document is archived and information here might be outdated. Recommended version. |
Indicates if the text scales with the map.
[Visual Basic .NET]
Public Property ScaleText As Boolean
[C#]
public bool ScaleText {get; set;}
[C++]
HRESULT get_ScaleText(
Boolean* Scale
);
[C++]
HRESULT put_ScaleText(
VARIANT_BOOL Scale
);
[C++] Parameters Scale [out, retval]
Scale is a parameter of type bool* Scale [in]
Scale is a parameter of type bool
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.