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


IMxDocument.DefaultTextFont Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (ArcMapUI)  

IMxDocument.DefaultTextFont Property

The default font for text.

[Visual Basic .NET]
Public Property DefaultTextFont As stdole.IFontDisp
[C#]
public stdole.IFontDisp DefaultTextFont {get; set;}

Product Availability

Available with ArcGIS Desktop.

Remarks

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.

See Also

IMxDocument Interface

.NET Samples

Custom feedback tool and font drop-down list tool control (Code Files: FontToolControl)