/ PDF / PdfFormFieldsTabOrder
Search results

PdfFormFieldsTabOrder API in JavaScript PDF API control

Public enum to define form fields tab order.

// Load an existing PDF document
let document: PdfDocument = new PdfDocument(data, password);
// Set a PDF form's tab order.
document.form.orderFormFields(PdfFormFieldsTabOrder.row);
// Save the document
document.save('output.pdf');
// Destroy the document
document.destroy();
  • column - Specifies the tab order is defined by the document’s columns.
  • manual - Specifies the tab order is defined manually.
  • none - Specifies that no tab order is defined.
  • row - Specifies the tab order is defined by the document’s rows.
  • structure - Specifies the tab order is defined by the document’s structure tree.
  • widget - Specifies the tab order is defined by the widget annotations in the document.