AnnotateOptions structure defines options for annotating documents

FileInfo example

  "FileInfo": {
    "FilePath": "string",
    "Password": "string"
  "Annotations": [],
  "FirstPage": 0,
  "LastPage": 0,
  "OnlyAnnotatedPages": true,
  "OutputPath": "string"

FileInfo fields

FileInfoInput file path and password. See FileInfo structure
AnnotationsArray of annotations to add to the document. See AnnotationInfo structure
FirstPageNum of first page to annotate
OnlyAnnotatedPagesIndicates whether to save only annotated pages to output document
OutputPathPath of output document