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