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 LongDLL
int DLSetFormFieldRotation(int InstanceID, int Index, int Angle);Parameters
| Index | The index of the form field to work with. The first form field has an index of 1. |
|---|---|
| Angle | The angle to rotate the field by. Must be one of the following values: 0, 90, 180 or 270. |
Return values
| 0 | The form field could not be found or the specified angle was not valid |
|---|---|
| 1 | The rotation of the specified form field was set successfully |