VisualExportTool.SendFileByEmail(ExportOptionsBase, PrintingSystemBase, Control) Method
In This Article
Exports a document to the specified format using the specified options, saves the exported file and calls MAPI to send mail.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.XtraPrinting.v24.2.dll
NuGet Package: DevExpress.Win.Printing
#Declaration
public static void SendFileByEmail(
ExportOptionsBase options,
PrintingSystemBase ps,
Control ownerControl = null
)
#Parameters
Name | Type | Description |
---|---|---|
options | Export |
Determines the export format and export settings. |
ps | Printing |
A Printing |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
owner |
Control | null | The window owner. |
#Remarks
The PrintingSystemBase descendant creates a document from the associated object before export.
See Also