A newer version of this page is available. Switch to the current version.

LinkBase.HandleCommand(PrintingSystemCommand, Object[], IPrintControl, ref Boolean) Method

Handles the specified Printing System command.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v18.2.Core.dll


public virtual void HandleCommand(
    PrintingSystemCommand command,
    object[] args,
    IPrintControl printControl,
    ref bool handled
Public Overridable Sub HandleCommand(
    command As PrintingSystemCommand,
    args As Object(),
    printControl As IPrintControl,
    ByRef handled As Boolean


Name Type Description
command PrintingSystemCommand

A PrintingSystemCommand enumeration value which specifies the command to be handled.

args Object[]

A collection of Object objects representing the parameters to be passed to the handled command.

printControl IPrintControl

An object implementing the IPrintControl interface (most typically, it is the PrintControl class instance).

handled Boolean

true if the command has been handled by a link; otherwise, false.


To check whether or not a command can be handled, use the LinkBase.CanHandleCommand property.

See Also