PreviewOptions

PreviewOptions structure defines options for creating documents preview

FileInfo example

{
  "FileInfo": {
    "FilePath": "string",
    "Password": "string"
  },
  "Format": "PNG",
  "PageNumbers": [
    0
  ],
  "Width": 0,
  "Height": 0,
  "RenderComments": true
}

FileInfo fields

NameDescription
FileInfoInput file path and password. See FileInfo structure
AnnotationIdsArray of IDs of annotations to remove from the document.
FormatPreview format. Supported values are: PNG, JPEG or BMP. Default value is PNG.
PageNumbersPage numbers to create preview for
WidthPreview image width
HeightPreview image height
RenderCommentsShow comments in preview