SetTabOrderModeA

Form fields, Annotations and hotspot links

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to SetTabOrderMode and string arguments are interpreted using the current SetAnsiMode code page

This function sets the default tabbing order mode for the currently selected page for all of the annotations including the formfields when tabbing in a PDF viewer.

If you use SetFormFieldTabOrder to define a custom tabbing order then you should set the tabbing order to 'S'tructure mode.

Syntax

Delphi

Function DLSetTabOrderModeA(InstanceID: Integer; Mode: PAnsiChar): Integer;

DLL

int DLSetTabOrderModeA(int InstanceID, const char * Mode);

Parameters

ModeThe mode string 'S' - Structure mode - use the order of the Annots and/or Formfields as they are defined 'R' - Row Mode - Left to right, top to bottom order 'C' - Column Mode - Top to botton, left to right order

Return values

0The tabbing mode was not set correctly
1Success