FastColoredTextBoxNS.ExportToHTML.GetHtml C# (CSharp) Method

GetHtml() public method

public GetHtml ( FastColoredTextBox tb ) : string
tb FastColoredTextBox
return string
        public string GetHtml(FastColoredTextBox tb)
        {
            this.tb = tb;
            Range sel = new Range(tb);
            sel.SelectAll();
            return GetHtml(sel);
        }

Same methods

ExportToHTML::GetHtml ( Range r ) : string

Usage Example

Example #1
0
 public void ToHTML(ExportToHTML output, FastColoredTextBox source)
 {
     _fileBroker.SaveWithDialog(new HtmlFileType(), output.GetHtml(source));
 }
All Usage Examples Of FastColoredTextBoxNS.ExportToHTML::GetHtml