PdfOptions
Leave feedback
PdfOptions data structure inherits RenderOptions and used as part of ViewOptions data structure.
{
"DocumentOpenPassword": "string",
"PermissionsPassword": "string",
"Permissions": ["AllowAll", "DenyModification"],
"PdfOptimizationOptions": {},
"ImageMaxWidth": 0,
"ImageMaxHeight": 0,
"ImageWidth": 0,
"ImageHeight": 0
}
Name | Description |
---|---|
RenderOptions fields | PdfOptions inherits all properties of RenderOptions |
DocumentOpenPassword | The password required to open the PDF document |
PermissionsPassword | The password required to change permission settings; Using a permissions password you can restrict printing, modification and data extraction |
Permissions | The array of PDF document permissions. Allowed values are: AllowAll, DenyPrinting, DenyModification, DenyDataExtraction, DenyAll. Default value is AllowAll, if now permissions are set. |
PdfOptimizationOptions | Contains options for rendering documents into PDF format. See PdfOptimizationOptions |
ImageMaxWidth | Max width of an output image in pixels. (When converting single image to PDF only) |
ImageMaxHeight | Max height of an output image in pixels. (When converting single image to PDF only) |
ImageWidth | The width of the output image in pixels. (When converting single image to PDF only) |
ImageHeight | The height of an output image in pixels. (When converting single image to PDF only) |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.