public class MsgSaveOptions extends SaveOptions
This class allows the user to specify additional settings when saving a MailMessage in the Msg(ASCII) and Msg(Unicode) format.
Constructor and Description |
---|
MsgSaveOptions(MailMessageSaveType saveType)
Initializes a new instance of this class that can be used to save a MailMessage in the Msg(ASCII) and Msg(Unicode) format.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getPreserveOriginalDates()
Gets or sets a value indicating whether it is necessary to generate
new saving and modification dates when saving a message.
|
boolean |
getPreserveSignature()
Set to true, if signature is to be preserved.
|
boolean |
getSaveAsTemplate()
Set to true, if need to be saved as Outlook File Template(OFT format).
|
void |
setPreserveOriginalDates(boolean value)
Gets or sets a value indicating whether it is necessary to generate
new saving and modification dates when saving a message.
|
void |
setPreserveSignature(boolean value)
Set to true, if signature is to be preserved.
|
void |
setSaveAsTemplate(boolean value)
Set to true, if need to be saved as Outlook File Template(OFT format).
|
createSaveOptions, getDefaultEml, getDefaultHtml, getDefaultMhtml, getDefaultMsg, getDefaultMsgUnicode, getMailMessageSaveType, setMailMessageSaveType
public MsgSaveOptions(MailMessageSaveType saveType)
Initializes a new instance of this class that can be used to save a MailMessage in the Msg(ASCII) and Msg(Unicode) format.
saveType
- a MailMessageSaveType
object.public boolean getPreserveOriginalDates()
Gets or sets a value indicating whether it is necessary to generate new saving and modification dates when saving a message.
public void setPreserveOriginalDates(boolean value)
Gets or sets a value indicating whether it is necessary to generate new saving and modification dates when saving a message.
value
- a boolean.public boolean getPreserveSignature()
Set to true, if signature is to be preserved.
public void setPreserveSignature(boolean value)
Set to true, if signature is to be preserved.
value
- a boolean.public boolean getSaveAsTemplate()
Set to true, if need to be saved as Outlook File Template(OFT format).
public void setSaveAsTemplate(boolean value)
Set to true, if need to be saved as Outlook File Template(OFT format).
Copyright (c) 2008-2017 Aspose Pty Ltd. All Rights Reserved.