Method GetPrintDocument
GetPrintDocument(TextEditor)
Gets FlowDocument object describes TextEditor content accordingly to printing demands.
public FlowDocument GetPrintDocument(TextEditor edit)
Parameters
edit
TextEditorTextEditor to print.
Returns
- FlowDocument
FlowDocument describes TextEditor content.