GetFormFontName
Fonts, Form fields
Description
Returns the name of the font with the specified index.
Syntax
Delphi
Function TPDFlib.GetFormFontName(FontIndex: Integer): WideString;
ActiveX
Function PDFlib::GetFormFontName(FontIndex As Long) As String
DLL
const wchar_t* DLGetFormFontName(int InstanceID, int FontIndex);
const char* DLGetFormFontNameA(int InstanceID, int FontIndex);
Parameters
| FontIndex | The index of the font to work with. The first font in the form has an index of 1. Use GetFormFontCount to determine the number of fonts available in the form. |
|---|
Return values
Returns the name of the form font at the given index. Returns an empty string when the document has no form data.