SetFormFieldRotation

Form fields

Description

Sets the rotation of a form field anti-clockwise relative to the page.

Syntax

Delphi

function TPDFlib.SetFormFieldRotation(Index, Angle: Integer): Integer;

ActiveX

Function PDFlib::SetFormFieldRotation(Index As Long, Angle As Long) As Long

DLL

int DLSetFormFieldRotation(int InstanceID, int Index, int Angle);

Parameters

IndexThe index of the form field to work with. The first form field has an index of 1.
AngleThe angle to rotate the field by. Must be one of the following values: 0, 90, 180 or 270.

Return values

0The form field could not be found or the specified angle was not valid
1The rotation of the specified form field was set successfully