HtmlInsertOptions

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

ValueDescription
NoneUse the default options when inserting HTML.
UseBuilderFormattingUse font and paragraph formatting specified in DocumentBuilder as base formatting for text inserted from HTML.
RemoveLastEmptyParagraphRemove the empty paragraph that is normally inserted after HTML that ends with a block-level element.
PreserveBlocksPreserve properties of block-level elements.

See Also

 English