C# Class FastColoredTextBoxNS.ExportToHTML

Exports colored text as HTML
At this time only TextStyle renderer is supported. Other styles is not exported.
Mostra file Open project: samarjeet27/ynoteclassic Class Usage Examples

Public Properties

Property Type Description
LineNumbersCSS string

Public Methods

Method Description
ExportToHTML ( ) : System.Collections.Generic
GetColorAsString ( Color color ) : string
GetHtml ( FastColoredTextBox tb ) : string
GetHtml ( Range r ) : string

Private Methods

Method Description
Flush ( StringBuilder sb, StringBuilder tempSB, StyleIndex currentStyle ) : void
GetCss ( StyleIndex styleIndex ) : string
GetStyleName ( StyleIndex styleIndex ) : string

Method Details

ExportToHTML() public method

public ExportToHTML ( ) : System.Collections.Generic
return System.Collections.Generic

GetColorAsString() public static method

public static GetColorAsString ( Color color ) : string
color System.Drawing.Color
return string

GetHtml() public method

public GetHtml ( FastColoredTextBox tb ) : string
tb FastColoredTextBox
return string

GetHtml() public method

public GetHtml ( Range r ) : string
r Range
return string

Property Details

LineNumbersCSS public_oe property

public string LineNumbersCSS
return string