Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfEmbeddedFont

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Represents a TrueType font file that should be embedded for a generated standard-font slot.

Inheritance

  • object
  • PdfEmbeddedFont

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.

Constructors

public PdfEmbeddedFont(PdfStandardFont font, byte[] data, string? fontName = null) #

Creates an embedded-font mapping for a standard PDF font slot.

Parameters

font OfficeIMO.Pdf.PdfStandardFont required
data byte[] required
fontName string? = null optional

Properties

public PdfStandardFont Font { get; } #

Standard PDF font slot that this font file replaces in generated output.

public string? FontName { get; } #

Optional PDF font name override. When null, the TrueType name table is used.

public byte[] Data { get; } #

TrueType font file bytes.