Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HtmlTextWriter Properties

HtmlTextWriter Properties

The HtmlTextWriter type exposes the following members.

  Name Description
Public property Encoding Gets the encoding that the HtmlTextWriter object uses to write content to the page. (Overrides TextWriter.Encoding.)
Public property FormatProvider Gets an object that controls formatting. (Inherited from TextWriter.)
Public property Indent Gets or sets the number of tab positions to indent the beginning of each line of markup.
Public property InnerWriter Gets or sets the text writer that writes the inner content of the markup element.
Public property NewLine Gets or sets the line terminator string used by the HtmlTextWriter object. (Overrides TextWriter.NewLine.)
Protected property TagKey Gets or sets the HtmlTextWriterTag value for the specified markup element.
Protected property TagName Gets or sets the tag name of the markup element being rendered.
© 2015 Microsoft