HtmlOptions
Leave feedback
HtmlOptions data structure inherits RenderOptions and used as part of ViewOptions data structure.
{
"ExternalResources": false,
"ResourcePath": "string",
"IsResponsive": true
}
| Name | Description |
|---|---|
| RenderOptions fields | ImageOptions inherits all properties of RenderOptions |
| ExternalResources | Controls output HTML document resources (styles, images and fonts) linking. By default this option is disabled and all the resources are embedded into HTML document. |
| ResourcePath | Path for the HTML resources (styles, images and fonts). 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.This option is ignored when ExternalResources option is disabled. |
| IsResponsive | Indicates whether rendering will provide responsive web pages, that look well on different device types. Default value is false. |
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.