Skip to main content

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

Handles the specified Printing System command.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.XtraPrinting.v24.2.dll

Declaration

public override 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 PrintableComponentLink.CanHandleCommand property.

See Also