NShape Reference
ICharacterStyle.FontName Property

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape > ICharacterStyle Interface >

NShape Reference
ICharacterStyle.FontName Property

Previous pageReturn to chapter overviewNext page

Specifies the name of the font family.


string FontName { get; }


Specifies the name of the font family that is used for the text. If the specified font family is not installed on the computer, a fallback font will be used.

Changing the FontName will load the appropriate ICharacterStyle.FontFamily.

A list of available font families can be retrieved from FontFamily.GetFamilies which returns a FontFamily[].