SetFormFieldTextSize
Text, Form fields
Description
Sets the size of the text in the specified form field. A value of 0 indicates that the form field autosizes the text to fit into the available space.
Syntax
Delphi
function TPDFlib.SetFormFieldTextSize(Index: Integer; NewTextSize: Double): Integer;ActiveX
Function PDFlib::SetFormFieldTextSize(Index As Long, NewTextSize As Double) As LongDLL
int DLSetFormFieldTextSize(int InstanceID, int Index, double NewTextSize);Parameters
| Index | The index of the form field to work with. The first form field has an index of 1. |
|---|---|
| NewTextSize | The new size in points of the form field's font |
Return values
| 0 | The form field could not be found |
|---|---|
| 1 | The form field font size was set successfully |