Back to Devexpress

PrintableComponentLink.CanHandleCommand(PrintingSystemCommand, IPrintControl) Method

windowsforms-devexpress-dot-xtraprinting-dot-printablecomponentlink-dot-canhandlecommand-x28-devexpress-dot-xtraprinting-dot-printingsystemcommand-devexpress-dot-xtraprinting-dot-iprintcontrol-x29.md

latest2.4 KB
Original Source

PrintableComponentLink.CanHandleCommand(PrintingSystemCommand, IPrintControl) Method

Indicates whether or not the specified Printing System command can be handled.

Namespace : DevExpress.XtraPrinting

Assembly : DevExpress.XtraPrinting.v25.2.dll

NuGet Package : DevExpress.Win.Printing

Declaration

csharp
public override bool CanHandleCommand(
    PrintingSystemCommand command,
    IPrintControl printControl
)
vb
Public Overrides Function CanHandleCommand(
    command As PrintingSystemCommand,
    printControl As IPrintControl
) As Boolean

Parameters

NameTypeDescription
commandPrintingSystemCommand

A PrintingSystemCommand enumeration value that specifies the command.

| | printControl | IPrintControl |

An object implementing the IPrintControl interface that specifies the print control (most typically, it is a PrintControl class instance).

|

Returns

TypeDescription
Boolean

true if the command can be handled; otherwise, false.

|

See Also

HandleCommand(PrintingSystemCommand, Object[], IPrintControl, ref Boolean)

PrintableComponentLink Class

PrintableComponentLink Members

DevExpress.XtraPrinting Namespace