GetFormFieldTextSize

Form fields

Description

Retrieves 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.GetFormFieldTextSize(Index: Integer): Double;

ActiveX

Function PDFlib::GetFormFieldTextSize(Index As Long) As Double

DLL

double DLGetFormFieldTextSize(int InstanceID, int Index);

Parameters

IndexThe index of the form field to work with. The first form field has an index of 1.