_MailItem.BodyFormat Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets an OlBodyFormat constant indicating the format of the body text. Read/write.
public:
property Microsoft::Office::Interop::Outlook::OlBodyFormat BodyFormat { Microsoft::Office::Interop::Outlook::OlBodyFormat get(); void set(Microsoft::Office::Interop::Outlook::OlBodyFormat value); };
public Microsoft.Office.Interop.Outlook.OlBodyFormat BodyFormat { get; set; }
Public Property BodyFormat As OlBodyFormat
Property Value
Remarks
The body text format determines the standard used to display the text of the message. Microsoft Outlook provides three body text format options: Plain Text, Rich Text (RTF), and HTML.
All text formatting will be lost when the BodyFormat property is switched from RTF to HTML and vice-versa.