Skip to main content

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

Handles the specified Printing System command.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public virtual void HandleCommand(
    PrintingSystemCommand command,
    object[] args,
    IPrintControl printControl,
    ref bool handled
)

Parameters

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.

Remarks

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

See Also