HtmlInsertOptions
Overview
HtmlInsertOptions is an enum in Aspose.Words FOSS for .NET.
Specifies options for the InsertHtml(string, HtmlInsertOptions) method.
This enumeration defines 4 values: None, UseBuilderFormatting, RemoveLastEmptyParagraph, PreserveBlocks.
Values
| Value | Description |
|---|---|
None | Use the default options when inserting HTML. |
UseBuilderFormatting | Use font and paragraph formatting specified in DocumentBuilder as base formatting for text inserted from HTML. |
RemoveLastEmptyParagraph | Remove the empty paragraph that is normally inserted after HTML that ends with a block-level element. |
PreserveBlocks | Preserve properties of block-level elements. |