Click or drag to resize

HtmlSaveOptionsUseSemanticElements Property

Gets or sets a value indicating whether to use semantic elements when generating a HTML.

To maintain backward compatibility, default value is .

The type of the semantic element that will be used is inferred either from a document element type, some of its properties or its style. For example, <h1> to <h6> HTML elements will be used for paragraphs with 'Heading 1' to 'Heading 6' styles. This feature is currently not fully implemented. Support for various HTML semantic elements (especially those defined in HTML5) will be added gradually.

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version:
public bool UseSemanticElements { get; set; }

Property Value

Type: Boolean
if semantic HTML elements should be used when generating a HTML; otherwise, .
See Also