Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

HtmlDocumentImporterOptions Properties

Contains options used for loading (importing) the HTML document.
Name Description
AsyncImageLoading Gets or sets whether images are loaded synchronously or asynchronously when importing an HTML document.
AutoDetectEncoding Gets or sets whether the auto-detection of the charset of the html file is enabled.
Encoding Gets or sets the encoding used to interpret characters in the document.
FontScalingDpiValue Gets or sets the DPI value that will be used to scale fonts on high DPI settings.
IgnoreFloatProperty Specifies whether or not to ignore the “float” setting of HTML elements in the imported document.
IgnoreMetaCharset Gets or sets whether the character encoding specified in the META element should be ignored.
ReplaceSpaceWithNonBreakingSpaceInsidePre Specifies whether or not to replace all white space characters inside the “pre” tag with non-breaking spaces.
SourceUri Gets or sets the base URI for the external content of the document. Inherited from DocumentImporterOptions.
UpdateField Overrides the corresponding property of the base class to hide it. Has no effect for HTML import.
See Also