THotPDF.GetLoadedFontDict Method

Returns the complete font dictionary object of a specific font resource in the specified page of the loaded PDF, used for accessing low-level properties such as font descriptors, width tables, and encoding mappings

Declaration

function GetLoadedFontDict(PageIndex, FontIndex: Integer): THPDFDictionaryObject;

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based index of the target page
FontIndexThe zero-based index of the target font in the page's font resource dictionary

Return value

Returns the THPDFDictionaryObject that owns the font dictionary

Usage notes

Related APIs