Skip to main content

PdfViewerCommand Methods

The base class for each PDF Viewer command.
Name Description
CanExecute() Determines whether the command can execute in its current state. Inherited from Command.
CreateContextMenuBarItem(BarManager) Supports the context menu initialization in a PDF Viewer.
CreateDefaultCommandUIState() Creates an object defining the command state for the current command. Inherited from Command.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Execute() Executes the command on the current command target. Inherited from Command.
ForceExecute(ICommandUIState) Forces the application user interface to ignore the current applicability of a command, and trigger its execution despite the risks.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
UpdateUIState(ICommandUIState) Updates the command state. Inherited from Command.
See Also