Specifies options for an HtmlWriterVisitor.
Base type: object.
Name | Access Modifier | Summary |
---|---|---|
HtmlWriterVisitorOptions() | public |
Initializes a new instance of the HtmlWriterVisitorOptions class. |
Name | Access Modifier | Summary |
---|---|---|
Indent | public get, set |
When provided, the given sequence is used to indent new elements. If the value is |
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