PrintControl.CanExecCommand(PrintingSystemCommand) Method
Checks whether or not the specified command can be executed.
Namespace: DevExpress.XtraPrinting.Control
Assembly: DevExpress.XtraPrinting.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
command | PrintingSystemCommand | A PrintingSystemCommand enumeration value. |
Returns
Type | Description |
---|---|
Boolean | true if the command can be executed; otherwise, false. |
Remarks
Call this method to ensure that a certain command can be executed before calling the PrintControl.ExecCommand method.
See Also