Class PrintingWpf
Represents properties and methods for printing and print previewing of Edit control.
public class PrintingWpf : IPrintingWpf
- Inheritance
-
PrintingWpf
- Implements
Constructors
- PrintingWpf(TextEditor)
Initializes a new instance of the
PrintingWpfclass with a specified owner.
Properties
- AllowedOptions
Gets or sets Print Options dialog options, that can be changed by user.
- Options
Gets or sets
PrintOptionsthat determines printing behavior.
- PrintDialog
Represents a dialog box that allows users to select a printer and choose which portions of the document to print.
- ShowPrintOptionsDialog
Gets or sets a value indicating whether Print Options Dialog can be opened.
Methods
- Assign(IPrintingWpf)
Copies the contents of another
IPrintingWpfobject.
- ExecutePrintDialog()
Initializes and runs print dialog.
- ExecutePrintOptionsDialog()
Initializes and runs print options dialog.
- ExecutePrintPreviewDialog(DependencyObject)
Initializes and runs print preview dialog.
- OnInitialized()
Raises the
Initializedevent.
- Print()
Sends
PrintingWpf.PrintDocumentcontent to the printer.
- ResetAllowedOptions()
Resets
AllowedOptionsto the default value.
- ResetOptions()
Resets
Optionsto the default value.
Events
- Initialized
When implemented by a class, occurs when document to print is initialized.