SaveFontToFile
Description
This function is useful for extracting fonts from a PDF that have been found with the FindFonts function. Only embedded TrueType fonts can be saved.
Syntax
Delphi
function TQuickPDF0813.SaveFontToFile(FileName: WideString): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::SaveFontToFile(FileName As String) As Long
DLL
int QuickPDFSaveFontToFile(int InstanceID, wchar_t * FileName)
Parameters
| FileName | The path and file name of the file that should be created to store the font data in. |
Return values
| 0 | The font is not embedded so there is no font data to save to the file |
| 1 | The embedded font data was written to the file successfully |