VisualExportTool.SendFileByEmailAsync(ExportOptionsBase, PrintingSystemBase, Control) Method
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.XtraPrinting.v26.1.dll
Declaration
public static Task SendFileByEmailAsync(
ExportOptionsBase options,
PrintingSystemBase ps,
Control ownerControl = null
)
Parameters
| Name | Type | Description |
|---|---|---|
| options | ExportOptionsBase | An ExportOptionsBase descendant that specifies the export format and options. |
| ps | PrintingSystemBase | A PrintingSystemBase class descendant that creates the printable representation of the object. |
Optional Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| ownerControl | Control | null | The window owner. |
Returns
| Type | Description |
|---|---|
| Task | A Task that identifies an asynchronous operation. |
Remarks
The PrintingSystemBase descendant creates a document from the associated object before export.
See Also