Skip to main content
A newer version of this page is available. .

PrintControl.CanExecCommand(PrintingSystemCommand) Method

Checks whether or not the specified command can be executed.

Namespace: DevExpress.XtraPrinting.Control

Assembly: DevExpress.XtraPrinting.v18.2.dll

Declaration

public bool CanExecCommand(
    PrintingSystemCommand command
)

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