PrintCommand
Prints the editor's current document using supplied settings or the default native print settings.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class PrintCommand : RichTextBoxCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBasePrintCommand
Implements:
Inherited Members
Constructors
Initializes the command for the specified editor.
public PrintCommand(RadRichTextBox editor)
The rich text box whose document is printed.
Properties
Gets Always because printing does not edit the document.
protected override CanExecuteBehaviorInProtectedDocument CanExecuteBehaviorInProtectedDocument { get; }
Overrides:
Gets a value indicating that printing is allowed when the editor is in read-only mode.
protected override bool CanExecuteInReadOnlyMode { get; }
Overrides:
Gets a value indicating that printing is allowed in read-only ranges.
protected override bool CanExecuteInReadOnlyRange { get; }
Overrides:
Methods
Prints the current document using the supplied mode or settings.
protected override void ExecuteOverride(object parameter)
A defined PrintMode value, a string parsed as a PrintMode (numeric strings are not checked against defined members), a PrintSettings instance, or null to use default settings. Other values and unparseable strings are ignored.
Overrides: