Skip to main content

PrintingSystemBase.RemoveCommandHandler(ICommandHandler) Method

Removes the existing command handler for one or several of the printing system commands (listed in the PrintingSystemCommand enumeration).

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

#Declaration

public void RemoveCommandHandler(
    ICommandHandler handler
)

#Parameters

Name Type Description
handler ICommandHandler

An object implementing the ICommandHandler interface.

#Remarks

Note

The RemoveCommandHandler 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