API Reference
HtmlToRtfOptions
Controls semantic HTML to RTF conversion.
Inheritance
- Object
- HtmlToRtfOptions
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
- Extension method HtmlConversionDocument.SaveAsRtf
- Extension method HtmlConversionDocument.SaveAsRtf
- Extension method HtmlConversionDocument.SaveAsRtfAsync
- Extension method HtmlConversionDocument.SaveAsRtfAsync
- Extension method HtmlConversionDocument.ToRtf
- Extension method HtmlConversionDocument.ToRtfBytes
- Extension method HtmlConversionDocument.ToRtfDocument
- Extension method HtmlConversionDocument.ToRtfDocumentResult
- Extension method HtmlConversionDocument.ToRtfStream
- Method HtmlRtfConverterExtensions.SaveAsRtf
- Method HtmlRtfConverterExtensions.SaveAsRtf
- Method HtmlRtfConverterExtensions.SaveAsRtfAsync
- Method HtmlRtfConverterExtensions.SaveAsRtfAsync
- Method HtmlRtfConverterExtensions.ToRtf
- Method HtmlRtfConverterExtensions.ToRtfBytes
- Method HtmlRtfConverterExtensions.ToRtfDocument
- Method HtmlRtfConverterExtensions.ToRtfDocumentResult
- Method HtmlRtfConverterExtensions.ToRtfStream
Constructors
public HtmlToRtfOptions() #Methods
public HtmlToRtfOptions Clone() #HtmlToRtfOptionsCreates a reusable copy of the current options without carrying runtime diagnostics into the clone.
Returns
A new HtmlToRtfOptions with the same configuration values.
public static HtmlToRtfOptions CreateOfficeIMOProfile() #HtmlToRtfOptionsCreates the default OfficeIMO HTML to RTF import profile.
Returns
A new HtmlToRtfOptions instance using the default semantic bridge behavior.
public static HtmlToRtfOptions CreateUntrustedHtmlProfile() #HtmlToRtfOptionsCreates a bounded offline profile for untrusted HTML ingestion.
Returns
A new HtmlToRtfOptions instance configured for untrusted HTML.
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public Uri BaseUri { get; set; } #Base URI used to resolve relative hyperlinks and image sources.
public HtmlUrlPolicy UrlPolicy { get; set; } #URL policy used before hyperlinks are materialized into RTF content.
public HtmlUrlPolicy ResourceUrlPolicy { get; set; } #Optional separate policy for image sources. When omitted, UrlPolicy is used.
public Boolean PreserveUnknownTagsAsText { get; set; } #Preserves unknown element names as bracketed text markers instead of treating them as transparent containers.
public Boolean IgnoreInsignificantWhitespace { get; set; } #When enabled, text nodes made only of whitespace are ignored outside preformatted elements.
public Nullable<Int32> MaxHtmlNodes { get; set; } #Optional maximum number of parsed HTML element and text nodes allowed for a conversion operation. When exceeded, conversion stops with HtmlRtfConversionLimitException and an error diagnostic.
public Nullable<Int32> MaxHtmlDepth { get; set; } #Optional maximum parsed HTML element nesting depth allowed for a conversion operation. When exceeded, conversion stops with HtmlRtfConversionLimitException and an error diagnostic.