C
int32_t __stdcall pdfGetFieldOrientation(PPDF IPDF, uint32_t AField);
BOOL32 __stdcall pdfSetFieldOrientation(PPDF IPDF, uint32_t AField, int32_t Value);
Delphi
function pdfGetFieldOrientation(const IPDF: PPDF; AField: Cardinal): Integer; stdcall;
function pdfSetFieldOrientation(const IPDF: PPDF; AField: Cardinal; Value: Integer): LongBool; stdcall;
Purpose. Get/set a field widget's /MK /R rotation.
Return value. Getter: the rotation; 0 if AField doesn't resolve. Setter: True on success.
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Forms
Category
Forms
Exported names
pdfSetFieldOrientation
String variants
The …A form takes UTF-8, …W
takes UTF-16; a bare name aliases the ANSI form.
See working code
Worked examples — complete programs in ten languages.