Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

RtfFont

OfficeIMO.Rtf

Namespace
OfficeIMO.Rtf
Assembly
OfficeIMO.Rtf
Source revision
ba882f6b0d07 with working tree changes
Implements
IRtfCloneable
Modifiers
sealed

Font entry used by an RTF document.

Inheritance

  • object
  • RtfFont

Usage

Explore 2 API references to this type

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

Returned or exposed by 1

Accepted by parameters 1

Constructors

public RtfFont(int id, string name) #

Initializes a font.

Parameters

id int required
name string required

Properties

public int Id { get; } #

RTF font identifier.

public string Name { get; } #

Font display name.

public RtfFontFamily? Family { get; set; } #

Optional RTF font family classification.

public int? Charset { get; set; } #

Optional character set from \fcharset.

public int? Pitch { get; set; } #

Optional pitch request from \fprq.

public int? CodePage { get; set; } #

Optional code page from \cpg.

public int? 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.