This is an abstract base class for classes that allow the user to specify additional options when saving a MailMessage into a particular format. More...

Inherits Object.

Inherited by Aspose::Email::EmlSaveOptions, Aspose::Email::HtmlSaveOptions, Aspose::Email::MhtSaveOptions, and Aspose::Email::MsgSaveOptions.

Public Member Functions

ASPOSE_EMAIL_SHARED_API ConversionProgressEventHandler get_CustomProgressHandler () const
 Represents method that usually supplied by calling side and handles progress events. More...
 
ASPOSE_EMAIL_SHARED_API void set_CustomProgressHandler (ConversionProgressEventHandler value)
 Represents method that usually supplied by calling side and handles progress events. More...
 
ASPOSE_EMAIL_SHARED_API System::SharedPtr< Aspose::Email::MailMessageSaveType > get_MailMessageSaveType () const
 Represents the mail message save type.It can be in eml,msg(ASCII or Unicode),mhtml or html format. The default value is Eml. More...
 
ASPOSE_EMAIL_SHARED_API void set_MailMessageSaveType (System::SharedPtr< Aspose::Email::MailMessageSaveType > value)
 Represents the mail message save type.It can be in eml,msg(ASCII or Unicode),mhtml or html format. The default value is Eml. More...
 

Static Public Member Functions

static ASPOSE_EMAIL_SHARED_API System::SharedPtr< EmlSaveOptionsget_DefaultEml ()
 Gets options with default values for saving message to Eml format. More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< MsgSaveOptionsget_DefaultMsg ()
 Gets options with default values for saving message to Msg(ASCII) format. More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< MsgSaveOptionsget_DefaultMsgUnicode ()
 Gets options with default values for saving message to Msg(Unicode) format. More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< MhtSaveOptionsget_DefaultMhtml ()
 Gets options with default values for saving message to Mhtml format. More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< HtmlSaveOptionsget_DefaultHtml ()
 Gets options with default values for saving message to Html format. More...
 
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< SaveOptionsCreateSaveOptions (System::SharedPtr< Aspose::Email::MailMessageSaveType > saveType)
 Creates a save options object of a class suitable for the specified save type. More...
 

Protected Member Functions

ASPOSE_EMAIL_SHARED_API SaveOptions ()
 Hides the class constructor. More...
 

Detailed Description

This is an abstract base class for classes that allow the user to specify additional options when saving a MailMessage into a particular format.

Constructor & Destructor Documentation

◆ SaveOptions()

ASPOSE_EMAIL_SHARED_API Aspose::Email::SaveOptions::SaveOptions ( )
protected

Hides the class constructor.

Member Function Documentation

◆ CreateSaveOptions()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<SaveOptions> Aspose::Email::SaveOptions::CreateSaveOptions ( System::SharedPtr< Aspose::Email::MailMessageSaveType >  saveType)
static

Creates a save options object of a class suitable for the specified save type.

Parameters
saveTypeThe save type for which to create a save options object.
Returns
An object of a class that derives from SaveOptions.

◆ get_CustomProgressHandler()

ASPOSE_EMAIL_SHARED_API ConversionProgressEventHandler Aspose::Email::SaveOptions::get_CustomProgressHandler ( ) const

Represents method that usually supplied by calling side and handles progress events.

◆ get_DefaultEml()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<EmlSaveOptions> Aspose::Email::SaveOptions::get_DefaultEml ( )
static

Gets options with default values for saving message to Eml format.

◆ get_DefaultHtml()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<HtmlSaveOptions> Aspose::Email::SaveOptions::get_DefaultHtml ( )
static

Gets options with default values for saving message to Html format.

◆ get_DefaultMhtml()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<MhtSaveOptions> Aspose::Email::SaveOptions::get_DefaultMhtml ( )
static

Gets options with default values for saving message to Mhtml format.

◆ get_DefaultMsg()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<MsgSaveOptions> Aspose::Email::SaveOptions::get_DefaultMsg ( )
static

Gets options with default values for saving message to Msg(ASCII) format.

◆ get_DefaultMsgUnicode()

static ASPOSE_EMAIL_SHARED_API System::SharedPtr<MsgSaveOptions> Aspose::Email::SaveOptions::get_DefaultMsgUnicode ( )
static

Gets options with default values for saving message to Msg(Unicode) format.

◆ get_MailMessageSaveType()

ASPOSE_EMAIL_SHARED_API System::SharedPtr<Aspose::Email::MailMessageSaveType> Aspose::Email::SaveOptions::get_MailMessageSaveType ( ) const

Represents the mail message save type.It can be in eml,msg(ASCII or Unicode),mhtml or html format. The default value is Eml.

◆ set_CustomProgressHandler()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::SaveOptions::set_CustomProgressHandler ( ConversionProgressEventHandler  value)

Represents method that usually supplied by calling side and handles progress events.

◆ set_MailMessageSaveType()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::SaveOptions::set_MailMessageSaveType ( System::SharedPtr< Aspose::Email::MailMessageSaveType >  value)

Represents the mail message save type.It can be in eml,msg(ASCII or Unicode),mhtml or html format. The default value is Eml.