WebLoadOptions class
Leave feedback
On this page
Options for loading web documents.
public class WebLoadOptions : LoadOptions, ICustomCssStyleOptions, IPageLayoutOptions,
IPageMarginOptions, IPageNumberingLoadOptions, IPageOrientationOptions, IPageSizeOptions,
IResourceLoadingOptions
| name | description |
|---|---|
| WebLoadOptions() | Initializes new instance of WebLoadOptions class. |
| BasePath { get; set; } | The base path/url for the html |
| ConfigureHeaders { get; set; } | Action for configuration of the request headers. First parameter of the action is the Uri. |
| CredentialsProvider { get; set; } | Credentials provider for the Uri. |
| CustomCssStyle { get; set; } | Implements CustomCssStyle |
| Encoding { get; set; } | Get or sets the encoding to be used when loading the web document. If the property is null the encoding will be determined from document character set attribute |
| Format { get; set; } | Input document file type. Is null until a format has been set, so test it for null rather than against Unknown, which it never equals. |
| HtmlRenderingMode { get; set; } | Controls how HTML content is rendered. Default: AbsolutePositioning |
| MarginSettings { get; set; } | |
| OrientationSettings { get; set; } | |
| PageLayoutOptions { get; set; } | Specifies the page layout options when loading web documents. |
| PageNumbering { get; set; } | Enable or disable generation of page numbering in converted document. Default: false |
| ResourceLoadingTimeout { get; set; } | Timeout for loading external resources |
| SizeSettings { get; set; } | |
| SkipExternalResources { get; set; } | Implements SkipExternalResources |
| UsePdf { get; set; } | Use pdf for the conversion. Default: false |
| WhitelistedResources { get; set; } | Implements WhitelistedResources |
| Zoom { get; set; } | Specifies the zoom level as a percentage. The zoom level is applied to the document’s <body> tag before conversion, scaling the document’s visual appearance. A value of 100% represents the original size. The default value is 100. |
- namespace GroupDocs.Conversion.Options.Load
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.