FindFonts

Fonts, Document properties

Description

Analyses the selected document and finds all available fonts. The number of found fonts is returned. Calling this function a second time will return zero as all relevant fonts were found the first time the function was called. These fonts are then available in conjunction to the fonts added with the Add*Font functions and will also be counted in subsequent calls to the FontCount function.

Syntax

Delphi

function TPDFlib.FindFonts: Integer;

ActiveX

Function PDFlib::FindFonts As Long

DLL

int DLFindFonts(int InstanceID);

Return values

0No fonts were found in the document
Non-zeroThe number of fonts that were found