Method Init
Init(TextEditor)
Initializes EditorPrintDocument
content with content of Edit control.
public DocumentPaginator Init(TextEditor edit)
Parameters
edit
TextEditorRepresents an
ItextEdit
object owningEditorPrintDocument
.
Returns
Init(TextEditor, bool)
Initializes EditorPrintDocument
content with content of Edit control.
public virtual DocumentPaginator Init(TextEditor edit, bool calcPages)
Parameters
edit
TextEditorRepresents an
TextEditor
object owningEditorPrintDocument
.calcPages
boolIndicates whether
EditorPrintDocument
should calculate count of pages to print.