Changes the page orientation of the section or sections identified by the editor's current selection.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class ChangePageOrientationCommand : RichTextBoxCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseChangePageOrientationCommand
Implements:
Inherited Members
Constructors
Creates a command that changes page orientation for the specified editor's selected section or sections.
public ChangePageOrientationCommand(RadRichTextBox radRichTextBox)
The editor whose current section is updated.
Properties
Disables the command when document protection is enforced.
protected override CanExecuteBehaviorInProtectedDocument CanExecuteBehaviorInProtectedDocument { get; }
Overrides:
Allows the availability check to pass in read-only ranges; the section update still requires editing permission.
protected override bool CanExecuteInReadOnlyRange { get; }
Overrides:
Methods
Requests the section update when the parameter identifies a defined orientation; the editor's permission checks may prevent the change.
protected override void ExecuteOverride(object parameter)
A PageOrientation value, a parseable enum name, or an element whose Tag contains that name.
Overrides: