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

IMxDocument.DefaultTextFontSize Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > IM > IMxDocument Interface > IMxDocument.DefaultTextFontSize Property
ArcGIS Developer Help

IMxDocument.DefaultTextFontSize Property

The default font size for text.

[Visual Basic .NET]
Public Property DefaultTextFontSize As IFontSize
public IFontSize DefaultTextFontSize {get; set;}

Product Availability

Available with ArcGIS Desktop.


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.

See Also

IMxDocument Interface