Instance API

Export and Document APIs

Save, export, print, and document-level operations.

Save and export

  • save(flags?)
  • exportPDF(flags?)
  • exportPDFWithOperations(operations)
  • exportXFDF(ignorePageRotation?)
  • exportInstantJSON(version?)
  • importInstantJSON(payload)

Rendering and output

  • renderPageAsImageURL(pageIndex)
  • renderPageAsArrayBuffer(pageIndex)
  • exportOffice()
  • download()
  • print(options?)

Document structures

  • getBookmarks()
  • getDocumentOutline()
  • setDocumentOutline(outline)
  • getFormFields()
  • getFormFieldValues()
  • setFormFieldValues(values)