Skip to main content
All docs
V21.1

IExportSendService.SendFileByEmail(PrintingSystemBase, EmailSenderBase, Window, ExportOptionsBase, IDialogService) Method

Exports the document in the specified format and attaches it to an e-mail.

Namespace: DevExpress.Xpf.Printing

Assembly: DevExpress.Xpf.Printing.v21.1.dll

NuGet Package: DevExpress.Wpf.Printing

Declaration

void SendFileByEmail(
    PrintingSystemBase ps,
    EmailSenderBase emailSender,
    Window ownerWindow,
    ExportOptionsBase options,
    IDialogService dialogService
)

Parameters

Name Type Description
ps PrintingSystemBase

A PrintingSystemBase descendant.

emailSender EmailSenderBase

A EmailSenderBase descendant.

ownerWindow Window

A Window object.

options ExportOptionsBase

An ExportOptionsBase descendant.

dialogService IDialogService

An object implementing the IDialogService interface.

See Also