WebLoadOptions class
Leave feedback
On this page
Provides options for loading web documents.
The WebLoadOptions type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a new instance of WebLoadOptions. |
| Method | Description |
|---|---|
| equals | Determines whether two object instances are equal. (inherited from ValueObject) |
| equals_object | (inherited from ValueObject) |
| equals_value_object | (inherited from ValueObject) |
| get_hash_code | Serves as the default hash function. (inherited from ValueObject) |
| Property | Description |
|---|---|
| base_path | The base path/url for the html. |
| configure_headers | The action used to configure request headers, where the first parameter is the Uri. |
| credentials_provider | The credentials provider for the Uri. |
| custom_css_style | The property implements ICustomCssStyleOptions.custom_css_style. |
| encoding | The encoding to be used when loading the web document. If set to None, the encoding will be determined from the document’s character set attribute. |
| format | The input document file type. |
| html_rendering_mode | The HTML rendering mode controls how HTML content is rendered. Default: AbsolutePositioning. |
| margin_settings | The margin settings. |
| orientation_settings | The orientation settings. |
| page_layout_options | The page layout options used when loading web documents. |
| page_numbering | The flag that enables or disables generation of page numbering in the converted document. Default: False. |
| resource_loading_timeout | The timeout for loading external resources. |
| size_settings | The size settings. |
| skip_external_resources | The property implements IResourceLoadingOptions.skip_external_resources. |
| use_pdf | The property indicates whether to use PDF for the conversion (default: False). |
| whitelisted_resources | The whitelisted resources property implements IResourceLoadingOptions.whitelisted_resources. |
| zoom | The zoom level as a percentage applied to the document’s <body> tag before conversion, scaling the document’s visual appearance. |
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.