Method Init
Init(TextEditor)
Initializes EditorPrintDocument content with content of Edit control.
public DocumentPaginator Init(TextEditor edit)
Parameters
editTextEditorRepresents an
ItextEditobject owningEditorPrintDocument.
Returns
Init(TextEditor, bool)
Initializes EditorPrintDocument content with content of Edit control.
public virtual DocumentPaginator Init(TextEditor edit, bool calcPages)
Parameters
editTextEditorRepresents an
TextEditorobject owningEditorPrintDocument.calcPagesboolIndicates whether
EditorPrintDocumentshould calculate count of pages to print.