PrintControl.CanExecCommand(PrintingSystemCommand) Method
In This Article
Checks whether or not the specified command can be executed.
Namespace: DevExpress.XtraPrinting.Control
Assembly: DevExpress.XtraPrinting.v24.2.dll
NuGet Package: DevExpress.Win.Printing
#Declaration
public bool CanExecCommand(
PrintingSystemCommand command
)
#Parameters
Name | Type | Description |
---|---|---|
command | Printing |
A Printing |
#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