The CodeFormatter type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
CodeFormatter |
Initializes a new instance of the CodeFormatter class.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
FormatCode |
Formats the specifies source code as HTML.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
CssClass |
Gets or sets the CSS class name to use on the <pre> element in the output HTML.
| |
FormattingInfo |
Gets or sets the IFormattingInfo that provides information hot to format the source code.
| |
LineNumberFormat |
Gets or sets the format string used to format the line numbers.
| |
LineNumberMode |
Gets or sets the line number mode.
| |
TabSpaces |
Gets or sets the number of spaces that a tab character should be replaced with.
| |
UsedFallbackFormatting |
Gets a value indicating whether fallback formatting was used by the last call to FormatCode(String).
|
See Also