PrintingSystemBase.AddCommandHandler(ICommandHandler) Method

Adds the specified command handler to the command handlers list for one or several of the printing system commands (listed in the PrintingSystemCommand enumeration).

Namespace: DevExpress.XtraPrinting

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

Declaration

public void AddCommandHandler(
    ICommandHandler handler
)
Public Sub AddCommandHandler(
    handler As ICommandHandler
)

Parameters

Name Type Description
handler ICommandHandler

An object implementing the ICommandHandler interface.

Remarks

NOTE

The AddCommandHandler method takes effect only in Windows Forms applications, where it must be called after the DocumentViewer.DocumentSource property has been assigned a value.

See Also