Allows to specify document password in case when document is password-protected.
AttachmentPassword
string
Allows to specify attachment password in case when attachment is password-protected.
ExtractText
bool
Enables document text extraction. For rendering document as image only.
RenderComments
bool
Enables document comments rendering.
RenderHiddenPages
bool
Enables document hidden pages, sheets or slides rendering.
DefaultFontName
string
The name of the default font. Default font name may be specified in following cases: You want to generally specify the default font to fall back on, if particular font in the document cannot be found during rendering. Your document uses fonts, that contain non-English characters and you want to make sure any missing font is replaced with one that has the same character set available.
Transforms
string[]
Transforms to apply. Available transforms [“Rotate”,“Reorder”,“AddPrintAction”]. Rotate - Pages will be rotated on angle if angle was set before. Reorder - For rendering document as PDF only. Pages will be ordered according to rearrangements made before.AddPrintAction - For rendering document as PDF only. An JavaScript action will be added which opens print dialog when PDF document is opened.
Watermark
Watermark Object
Allows to specify watermark.
CellsOptions
CellsOptions Object
The Spreadsheet documents rendering options.
CadOptions
CadOptions Object
The CAD documents rendering options.
EmailOptions
EmailOptions Object
The Email documents rendering options.
WordsOptions
WordsOptions Object
The Text documents rendering options.
PdfOptions
PdfOptions Object
The PDF documents rendering options.
SlidesOptions
SlidesOptions Object
The Presentation documents rendering options.
ProjectOptions
ProjectOptions Object
The Microsoft Project documents rendering options.
Allows to set image format (“png” or “jpg”). Default value is “png”.
Quality
int
Allows to specify quality when format # “jpg”. Valid values are between 1 and 100. Default value is 90.
Width
int
Allows to specify output image width. Specify image width in case when you want to change output image dimensions. When Width has value and Height value is 0 then Height value will be calculated to save image proportions.
Height
int
Allows to specify output image height. Specify image height in case when you want to change output image dimensions. When Height has value and Width value is 0 then Width value will be calculated to save image proportions.
Password
string
Allows to specify document password in case when document is password-protected.
AttachmentPassword
string
Allows to specify attachment password in case when attachment is password-protected.
ExtractText
bool
Enables document text extraction. For rendering document as image only.
RenderComments
bool
Enables document comments rendering.
DefaultFontName
string
The name of the default font.
Transforms
string[]
Transforms to apply. Available transforms [“Rotate”,“Reorder”,“AddPrintAction”].
Watermark
Watermark Object
Allows to specify watermark.
CellsOptions
CellsOptions Object
The Spreadsheet documents rendering options.
CadOptions
CadOptions Object
The CAD documents rendering options.
EmailOptions
EmailOptions Object
The Email documents rendering options.
WordsOptions
WordsOptions Object
The Text documents rendering options.
PdfOptions
PdfOptions Object
The PDF documents rendering options.
SlidesOptions
SlidesOptions Object
The Presentation documents rendering options.
ProjectOptions
ProjectOptions Object
The Microsoft Project documents rendering options.
HtmlOptions
Provides options for rendering document pages as HTML.
Allows to specify HTML resources (styles, images and fonts) path. For example when resource path is http://example.com/api/pages/{page-number}/resources/{resource-name} the {page-number} and {resource-name} templates will be replaced with page number and resource name accordingly. Ignored when EmbedResources option is set to true.
IgnoreResourcePathInResources
bool
Allows to ignore ResourcePath when processing *.css and *.svg files. When this options is enabled ResourcePath won’t be added to resource references in *.css and *.svg files.
EmbedResources
bool
Controls output HTML document resources (styles, images and fonts) saving. When this options set to true all resources will be embedded into HTML document and <see cref#“ResourcePath”/> option value will be ignored.
EnableMinification (added in 18.2)
bool
Enables content (HTML and SVG) minification.
EnableResponsiveRendering (added in 18.2)
bool
Indicates whether rendering will provide responsive web pages, that look well on different device types.
ExcludeFonts (added in 18.5)
bool
Prevents adding fonts to the output HTML document.
ExcludeFontsList (added in 18.11)
string[]
The list of font names, that will be excluded from HTML. Active only when ExcludeFonts is set to false.
StartPageNumber
int
Allows to specify document page number as starting page to render.
CountPages
int
Allows to specify count of document pages to render.
Password
string
Allows to specify document password in case when document is password-protected.
AttachmentPassword
string
Allows to specify attachment password in case when attachment is password-protected.
ExtractText
bool
Enables document text extraction. For rendering document as image only.
RenderComments
bool
Enables document comments rendering.
RenderHiddenPages
bool
Enables document hidden pages, sheets or slides rendering.
DefaultFontName
string
The name of the default font.
Transforms
string[]
Transforms to apply. Available transforms [“Rotate”,“Reorder”,“AddPrintAction”].
Watermark
Watermark
Allows to specify watermark.
CellsOptions
CellsOptions
The Spreadsheet documents rendering options.
CadOptions
CadOptions
The CAD documents rendering options.
EmailOptions
EmailOptions
The Email documents rendering options.
WordsOptions
WordsOptions
The Text documents rendering options.
PdfOptions
PdfOptions
The PDF documents rendering options.
SlidesOptions
SlidesOptions
The Presentation documents rendering options.
ProjectOptions
ProjectOptions
The Microsoft Project documents rendering options.
The watermark color. Supported formats “Magenta”, “(112,222,11)”, “(50,112,222,11)”. Default value is “Red”.
Position
string
The watermark position. Supported positions “Diagonal”, “TopLeft”, “TopCenter”, “TopRight”, “BottomLeft”, “BottomCenter” and “BottomRight”. Default value is “Diagonal”.
Size
int
Watermark size in percents. Default value is 100.
CellsOptions
Provides options for rendering spreadsheet documents.
Enables worksheets pagination. By default one worksheet is rendered into one page.
Encoding
string
The text (*.csv) document encoding.
InternalHyperlinkPrefix
string
Prefix for hyperlink that references worksheet inside the same document. For rendering document as HTML only.
CountRowsPerPage
int
The number of rows rendered into one page when PaginateSheets # true. Default value is 50.
TextOverflowMode
string
Text overflow mode applied when the text is too big to fit into the cell. Supported modes “Overlay”, “OverlayIfNextIsEmpty”, “HideText” and “AutoFitColumn”. Default value is OverlayIfNextIsEmpty.
IgnoreEmptyRows
bool
Indicates whether empty rows should be ignored.
RenderHiddenRows (added in 18.5)
bool
Enables rendering of hidden rows.
RenderHiddenColumns (added in 18.5)
bool
Enables rendering of hidden columns.
RenderPrintAreaOnly (added in 18.5)
bool
Enables rendering worksheet(s) sections which is defined as print area. Renders each print area in a worksheet as a separate page.
Indicates whether the PDF document is rendered in a precise mode or not. It is recommended to enable this option when rendering documents with complex content e.g. documents which contains hieroglyphs or any kind o glyphs which should be rendered separately from each other.
EnableInitialContentOrdering
bool
When this option is enabled content (graphics and text) will be added to HTML document accordingly Z-order in original PDF document. When this option is disabled content (graphics and text) will be added to a single layer.
RenderLayersSeparately
bool
When this option is enabled layers will be separated from each other in the HTML document.
ImageQuality (added in 18.5)
string
Specifies output image quality for image resources when rendering as HTML. The default value is Low. Supported values Low, Medium and High
SlidesOptions Object
Provides options for rendering Presentation documents.
Example SlidesOptions object.
"slidesOptions":{"renderNotes":false}
SlidesOptions Object Fields
Name
Type
Description
RenderNotes
bool
Indicates whether slide notes should be rendered.
ProjectOptions
Note
This object supported starting from v18.2
Provides options for rendering Microsoft Project documents.