AvalonEdit
ConvertTextDocumentToBlock Method (document, highlighter)
NamespacesICSharpCode.AvalonEdit.UtilsDocumentPrinterConvertTextDocumentToBlock(IDocument, IHighlighter)
Converts an IDocument to a Block and applies the provided highlighter.
Declaration Syntax
C#Visual BasicVisual C++
public static Block ConvertTextDocumentToBlock(
	IDocument document,
	IHighlighter highlighter
)
Public Shared Function ConvertTextDocumentToBlock ( _
	document As IDocument, _
	highlighter As IHighlighter _
) As Block
public:
static Block^ ConvertTextDocumentToBlock(
	IDocument^ document, 
	IHighlighter^ highlighter
)
Parameters
document (IDocument)
highlighter (IHighlighter)

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238