PrintControl.CanExecCommand(PrintingSystemCommand) Method

Checks whether or not the specified command can be executed.

Namespace: DevExpress.XtraPrinting.Control

Assembly: DevExpress.XtraPrinting.v20.1.dll

Declaration

public bool CanExecCommand(
    PrintingSystemCommand command
)
Public Function CanExecCommand(
    command As PrintingSystemCommand
) As Boolean

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