This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > IM > IMxDocument Interface > IMxDocument.DefaultTextFontSize Property (ArcObjects .NET 10.5 SDK) |
The default font size for text.
[Visual Basic .NET] Public Property DefaultTextFontSize As IFontSize
[C#] public IFontSize DefaultTextFontSize {get; set;}
This property conveniently stores a default font size for any tool requiring one. For example, the New Text tool on ArcMap's Draw toolbar, adds text graphics to an active view and initially uses the font size stored in this property.