PrintingSystemBase.ExecCommand(PrintingSystemCommand, Object[]) Method
Executes the specified printing system command and passes the specified parameters.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
public void ExecCommand(
PrintingSystemCommand command,
object[] args
)
#Parameters
Name | Type | Description |
---|---|---|
command | Printing |
A Printing |
args | Object[] | A collection of Object objects, representing the parameters to be passed to the executing command. |
#Remarks
Note
The Exec
Use the ExecCommand method to perform the same actions performed when the toolbar button or a menu item associated with the specified printing system command is clicked. The PrintingSystemCommand enumeration lists all the available printing system commands.
To execute a printing system command without any parameters, use the overloaded PrintControl.ExecCommand method.