THotPDF.GetLoadedEmbeddedFontCount Method
Returns the number of embedded font resources in the loaded PDF document
Declaration
function GetLoadedEmbeddedFontCount: Integer;
Unit
HPDFDoc
Return value
| Name | Purpose |
|---|---|
| This member takes no explicit parameters | |
Return value
Returns an Integer value
Usage notes
- The count only covers font descriptors that carry an actual font program; non-embedded referenced fonts are not included
- This value can be used to judge whether the document can be rendered normally in an environment lacking system fonts; a higher embedded font count implies better portability
- Ensure the document has been successfully loaded before calling, otherwise returns 0