Skip to content

PdfPage.GetPageFonts Method

GetPageFonts(Boolean,Boolean)

Gets the set of fonts included in this page.

C#
public HashSet`1 GetPageFonts(bool includeEmbeddedFont, bool includeNonEmbeddedFonts)

Parameters

includeEmbeddedFont Boolean

True if the set should include the embedded fonts.

includeNonEmbeddedFonts Boolean

True if the set should include the non-embedded fonts.

Remarks

This method examines the fonts included in page's resources dictionary. It is possible that not all the fonts are actually used on the page.