Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

RtfFont

Namespace OfficeIMO.Rtf
Assembly OfficeIMO.Rtf
Implements
IRtfCloneable
Modifiers sealed

Font entry used by an RTF document.

Inheritance

  • Object
  • RtfFont

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Accepted by parameters

Constructors

public RtfFont(Int32 id, String name) #

Initializes a font.

Parameters

id System.Int32 requiredposition: 0
name System.String requiredposition: 1

Properties

public Int32 Id { get; } #

RTF font identifier.

public String Name { get; } #

Font display name.

public Nullable<RtfFontFamily> Family { get; set; } #

Optional RTF font family classification.

public Nullable<Int32> Charset { get; set; } #

Optional character set from \fcharset.

public Nullable<Int32> Pitch { get; set; } #

Optional pitch request from \fprq.

public Nullable<Int32> CodePage { get; set; } #

Optional code page from \cpg.

public Nullable<Int32> Bias { get; set; } #

Optional font bias from \fbias.

public String AlternateName { get; set; } #

Optional alternate font name from the {\*\falt ...} destination.

public String Panose { get; set; } #

Optional raw PANOSE classification from the {\*\panose ...} destination.

public String NonTaggedName { get; set; } #

Optional non-tagged font name from the {\*\fname ...} destination.

public RtfFontEmbedding Embedding { get; set; } #

Optional embedded font metadata from the {\*\fontemb ...} destination.