API Reference
HtmlConversionDocumentOptions
Options for building the shared OfficeIMO HTML conversion document.
Inheritance
- Object
- HtmlConversionDocumentOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
- Method HtmlConversionDocument.Load
- Method HtmlConversionDocument.Load
- Method HtmlConversionDocument.LoadAsync
- Method HtmlConversionDocument.LoadAsync
- Method HtmlConversionDocument.Parse
- Constructor MhtmlDocument.MhtmlDocument
- Method MhtmlDocument.Load
- Method MhtmlDocument.Load
- Method MhtmlDocument.LoadAsync
- Method MhtmlDocument.LoadAsync
Constructors
public HtmlConversionDocumentOptions() #Methods
public HtmlConversionDocumentOptions Clone() #HtmlConversionDocumentOptionsCreates an independent options snapshot that can be safely adjusted for one load operation.
public static HtmlConversionDocumentOptions CreateTrustedProfile() #HtmlConversionDocumentOptionsCreates compatibility-oriented defaults for caller-trusted HTML.
public static HtmlConversionDocumentOptions CreateUntrustedProfile() #HtmlConversionDocumentOptionsCreates bounded, web-only defaults for untrusted HTML.
public HtmlResourcePipelineOptions ToResourcePipelineOptions() #HtmlResourcePipelineOptionsCreates a resource-pipeline options snapshot from this conversion-document configuration.
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public HtmlConversionProfile Profile { get; set; } #Conversion profile the document should advertise to downstream adapters.
public HtmlInputTrust Trust { get; set; } #Caller-assigned input trust boundary. This is independent from the semantic or visual fidelity profile.
public Uri BaseUri { get; set; } #Optional base URI used for URL normalization and resource planning.
public HtmlUrlPolicy UrlPolicy { get; set; } #URL policy used for hyperlinks, navigation targets, and normalized HTML output.
public HtmlUrlPolicy ResourceUrlPolicy { get; set; } #Separate URL policy for images, stylesheets, fonts, media, and other non-navigation resources.
public HtmlConversionLimits Limits { get; set; } #Shared limits applied before logical, style, resource, normalization, or adapter work.
public Boolean UseBodyContentsOnly { get; set; } #When true, logical analysis and normalized output use body contents as the conversion root.
public Boolean IncludeNormalizedHtml { get; set; } #When true, the builder emits a normalized HTML representation alongside the source HTML.
public HtmlNormalizationOptions NormalizationOptions { get; set; } #Options used when producing normalized HTML.