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


ITextSymbol.Font Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Display)  

ITextSymbol.Font Property

Text font.

[Visual Basic .NET]
Public Property Font As stdole.IFontDisp
[C#]
public stdole.IFontDisp Font {get; set;}
[C++]
HRESULT get_Font(
  IFontDisp** fontDisp
);
[C++]
HRESULT put_Font(
  IFontDisp* fontDisp
);
[C++]

Parameters fontDisp [out, retval]
fontDisp is a parameter of type IFontDisp** fontDisp [in]
fontDisp is a parameter of type IFontDisp*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Font is the font that an ITextSymbol uses. Use the IFontDisp interface to set the font.

See Also

ITextSymbol Interface

.NET Samples

RSS weather GraphicTracker (Code Files: RSSWeather) | Creating a toolbar of globe tools (Code Files: TextElement) | Play back tracking data (Code Files: PlaybackDataButton) | Draw text on a MapControl (Code Files: DrawText)