Allows to specify additional options when saving MailMessage to Mhtml format. More...
Inherits Aspose::Email::SaveOptions.
Public Member Functions | |
ASPOSE_EMAIL_SHARED_API ContactFieldsSet | get_RenderedContactFields () const |
Defines groups of Contact fields which will be included in output mhtml. Default value is ContactFieldsSet.AllExisting. More... | |
ASPOSE_EMAIL_SHARED_API void | set_RenderedContactFields (ContactFieldsSet value) |
Defines groups of Contact fields which will be included in output mhtml. Default value is ContactFieldsSet.AllExisting. More... | |
ASPOSE_EMAIL_SHARED_API Aspose::Email::MhtFormatOptions | get_MhtFormatOptions () const |
Defines additional options when saving in MHTML format. Default value is MhtFormatOptions.WriteHeader | MhtFormatOptions.WriteOutlineAttachments. More... | |
ASPOSE_EMAIL_SHARED_API void | set_MhtFormatOptions (Aspose::Email::MhtFormatOptions value) |
Defines additional options when saving in MHTML format. Default value is MhtFormatOptions.WriteHeader | MhtFormatOptions.WriteOutlineAttachments. More... | |
ASPOSE_EMAIL_SHARED_API bool | get_PreserveOriginalBoundaries () const |
Defines whether need keep original boundaries in mail message when saving or not. More... | |
ASPOSE_EMAIL_SHARED_API void | set_PreserveOriginalBoundaries (bool value) |
Defines whether need keep original boundaries in mail message when saving or not. More... | |
ASPOSE_EMAIL_SHARED_API bool | get_CheckBodyContentEncoding () const |
Defines whether need check message body content encoding when saving. More... | |
ASPOSE_EMAIL_SHARED_API void | set_CheckBodyContentEncoding (bool value) |
Defines whether need check message body content encoding when saving. More... | |
ASPOSE_EMAIL_SHARED_API bool | get_SaveAttachments () const |
Gets a value indicating whether to save attachments. More... | |
ASPOSE_EMAIL_SHARED_API void | set_SaveAttachments (bool value) |
Sets a value indicating whether to save attachments. More... | |
ASPOSE_EMAIL_SHARED_API bool | get_PreserveOriginalDate () const |
Defines whether need keep original date in mail message when saving or not. Default value is true. More... | |
ASPOSE_EMAIL_SHARED_API void | set_PreserveOriginalDate (bool value) |
Defines whether need keep original date in mail message when saving or not. Default value is true. More... | |
ASPOSE_EMAIL_SHARED_API System::String | get_CssStyles () const |
Gets the additional css styles for the formatter. More... | |
ASPOSE_EMAIL_SHARED_API void | set_CssStyles (System::String value) |
Sets the additional css styles for the formatter. More... | |
ASPOSE_EMAIL_SHARED_API System::SharedPtr< System::Collections::Specialized::StringDictionary > | get_FormatTemplates () const |
Gets the format templates. More... | |
ASPOSE_EMAIL_SHARED_API System::SharedPtr< System::Collections::Generic::List< System::String > > | get_RenderingHeaders () const |
Gets list of headers for rendering. More... | |
ASPOSE_EMAIL_SHARED_API bool | get_SkipInlineImages () const |
Defines whether skip references on images at saving in mhtml or not. Default value is false. More... | |
ASPOSE_EMAIL_SHARED_API void | set_SkipInlineImages (bool value) |
Defines whether skip references on images at saving in mhtml or not. Default value is false. More... | |
ASPOSE_EMAIL_SHARED_API | MhtSaveOptions () |
Initializes a new instance of this class that can be used to save a MailMessage in the Mhtml format. More... | |
![]() | |
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 Attributes | |
static const ASPOSE_EMAIL_SHARED_API System::String | DefaultPageHeaderFormat |
static const ASPOSE_EMAIL_SHARED_API System::String | DefaultHeaderFormat |
static const ASPOSE_EMAIL_SHARED_API System::String | MhtExportCss |
Friends | |
class | Aspose::Email::MhtMessageFormatter |
Additional Inherited Members | |
![]() | |
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< EmlSaveOptions > | get_DefaultEml () |
Gets options with default values for saving message to Eml format. More... | |
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< MsgSaveOptions > | get_DefaultMsg () |
Gets options with default values for saving message to Msg(ASCII) format. More... | |
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< MsgSaveOptions > | get_DefaultMsgUnicode () |
Gets options with default values for saving message to Msg(Unicode) format. More... | |
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< MhtSaveOptions > | get_DefaultMhtml () |
Gets options with default values for saving message to Mhtml format. More... | |
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< HtmlSaveOptions > | get_DefaultHtml () |
Gets options with default values for saving message to Html format. More... | |
static ASPOSE_EMAIL_SHARED_API System::SharedPtr< SaveOptions > | CreateSaveOptions (System::SharedPtr< Aspose::Email::MailMessageSaveType > saveType) |
Creates a save options object of a class suitable for the specified save type. More... | |
![]() | |
ASPOSE_EMAIL_SHARED_API | SaveOptions () |
Hides the class constructor. More... | |
Allows to specify additional options when saving MailMessage to Mhtml format.
ASPOSE_EMAIL_SHARED_API Aspose::Email::MhtSaveOptions::MhtSaveOptions | ( | ) |
Initializes a new instance of this class that can be used to save a MailMessage in the Mhtml format.
ASPOSE_EMAIL_SHARED_API bool Aspose::Email::MhtSaveOptions::get_CheckBodyContentEncoding | ( | ) | const |
Defines whether need check message body content encoding when saving.
ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::MhtSaveOptions::get_CssStyles | ( | ) | const |
Gets the additional css styles for the formatter.
The styles to be injected into resulting html body.
ASPOSE_EMAIL_SHARED_API System::SharedPtr<System::Collections::Specialized::StringDictionary> Aspose::Email::MhtSaveOptions::get_FormatTemplates | ( | ) | const |
Gets the format templates.
The format templates.
ASPOSE_EMAIL_SHARED_API Aspose::Email::MhtFormatOptions Aspose::Email::MhtSaveOptions::get_MhtFormatOptions | ( | ) | const |
Defines additional options when saving in MHTML format. Default value is MhtFormatOptions.WriteHeader | MhtFormatOptions.WriteOutlineAttachments.
ASPOSE_EMAIL_SHARED_API bool Aspose::Email::MhtSaveOptions::get_PreserveOriginalBoundaries | ( | ) | const |
Defines whether need keep original boundaries in mail message when saving or not.
ASPOSE_EMAIL_SHARED_API bool Aspose::Email::MhtSaveOptions::get_PreserveOriginalDate | ( | ) | const |
Defines whether need keep original date in mail message when saving or not. Default value is true.
ASPOSE_EMAIL_SHARED_API ContactFieldsSet Aspose::Email::MhtSaveOptions::get_RenderedContactFields | ( | ) | const |
Defines groups of Contact fields which will be included in output mhtml. Default value is ContactFieldsSet.AllExisting.
ASPOSE_EMAIL_SHARED_API System::SharedPtr<System::Collections::Generic::List<System::String> > Aspose::Email::MhtSaveOptions::get_RenderingHeaders | ( | ) | const |
Gets list of headers for rendering.
ASPOSE_EMAIL_SHARED_API bool Aspose::Email::MhtSaveOptions::get_SaveAttachments | ( | ) | const |
Gets a value indicating whether to save attachments.
true
if attachments should be saved; otherwise, false
.
ASPOSE_EMAIL_SHARED_API bool Aspose::Email::MhtSaveOptions::get_SkipInlineImages | ( | ) | const |
Defines whether skip references on images at saving in mhtml or not. Default value is false.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::MhtSaveOptions::set_CheckBodyContentEncoding | ( | bool | value | ) |
Defines whether need check message body content encoding when saving.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::MhtSaveOptions::set_CssStyles | ( | System::String | value | ) |
Sets the additional css styles for the formatter.
The styles to be injected into resulting html body.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::MhtSaveOptions::set_MhtFormatOptions | ( | Aspose::Email::MhtFormatOptions | value | ) |
Defines additional options when saving in MHTML format. Default value is MhtFormatOptions.WriteHeader | MhtFormatOptions.WriteOutlineAttachments.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::MhtSaveOptions::set_PreserveOriginalBoundaries | ( | bool | value | ) |
Defines whether need keep original boundaries in mail message when saving or not.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::MhtSaveOptions::set_PreserveOriginalDate | ( | bool | value | ) |
Defines whether need keep original date in mail message when saving or not. Default value is true.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::MhtSaveOptions::set_RenderedContactFields | ( | ContactFieldsSet | value | ) |
Defines groups of Contact fields which will be included in output mhtml. Default value is ContactFieldsSet.AllExisting.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::MhtSaveOptions::set_SaveAttachments | ( | bool | value | ) |
Sets a value indicating whether to save attachments.
true
if attachments should be saved; otherwise, false
.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::MhtSaveOptions::set_SkipInlineImages | ( | bool | value | ) |
Defines whether skip references on images at saving in mhtml or not. Default value is false.
|
friend |
|
static |
|
static |
|
static |