SetTabOrderMode

Form fields, Annotations and hotspot links

Description

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 TPDFlib.SetTabOrderMode(Mode: WideString): Integer;

ActiveX

Function PDFlib::SetTabOrderMode(Mode As String) As Long

DLL

int DLSetTabOrderMode(int InstanceID, wchar_t * 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