CodeFormatter MembersFormatC Syntax Highlighting Class Library

The CodeFormatter type exposes the following members.
Constructors

  NameDescription
Public methodCodeFormatter
Initializes a new instance of the CodeFormatter class.
Back to Top
Methods

  NameDescription
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an OnlineObject to attempt to free resources and perform other cleanup operations before the OnlineObject is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodFormatCode
Formats the specifies source code as HTML.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Returns a OnlineString that represents the current OnlineObject.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Public propertyCssClass
Gets or sets the CSS class name to use on the <pre> element in the output HTML.
Public propertyFormattingInfo
Gets or sets the IFormattingInfo that provides information hot to format the source code.
Public propertyLineNumberFormat
Gets or sets the format string used to format the line numbers.
Public propertyLineNumberMode
Gets or sets the line number mode.
Public propertyTabSpaces
Gets or sets the number of spaces that a tab character should be replaced with.
Public propertyUsedFallbackFormatting
Gets a value indicating whether fallback formatting was used by the last call to FormatCode(String).
Back to Top
See Also