Creates a flow document from the editor's contents.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static FlowDocument CreateFlowDocumentForEditor( TextEditor editor )
Public Shared Function CreateFlowDocumentForEditor ( _ editor As TextEditor _ ) As FlowDocument
public: static FlowDocument^ CreateFlowDocumentForEditor( TextEditor^ editor )
Parameters
- editor (TextEditor)
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238