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 Long

DLL

int DLSetFormFieldTextSize(int InstanceID, int Index, double NewTextSize);

Parameters

IndexThe index of the form field to work with. The first form field has an index of 1
NewTextSizeThe new size in points of the form field's font

Return values

0The form field could not be found
1The form field font size was set successfully