SetFormFieldFont
Form fields
Description
Sets the font that the specified form field must use.
Syntax
Delphi
function TPDFlib.SetFormFieldFont(Index, FontIndex: Integer): Integer;ActiveX
Function PDFlib::SetFormFieldFont(Index As Long, FontIndex As Long) As LongDLL
int DLSetFormFieldFont(int InstanceID, int Index, int FontIndex);Parameters
| Index | The index of the form field to work with. The first form field has an index of 1. |
|---|---|
| FontIndex | The index of the font to use. 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
| 0 | Bad font index or form field not found |
|---|---|
| 1 | Font was set successfully |