logo Mup Markup for Everyone

HtmlWriterVisitorOptions Class

Specifies options for an HtmlWriterVisitor.

Base type: object.

Constructors

Name Access Modifier Summary
HtmlWriterVisitorOptions() public

Initializes a new instance of the HtmlWriterVisitorOptions class.

Properties

Name Access Modifier Summary
Indent public get, set

When provided, the given sequence is used to indent new elements. If the value is null then no indentation is done and elements will not begin on new lines unless a NewLine is specified.

IndentOffset public get, set

The offset of the indentation. In case the HTML that is being written by the visitor is contained in an element a global indent can be applied to all of them allowing the resulting HTML to be formatted accordingly.

NewLine public get, set

When provided, the given sequence is used for breaking elements on separate lines otherwise no new line is used and implicitly no indentantion is applied.

Mup Copyright © 2020 Andrei Fangli