VisualExportTool.SendFileByEmailAsync(ExportOptionsBase, PrintingSystemBase, Control) Method
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.XtraPrinting.v24.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.Printing
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