Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns or sets an OlBodyFormat constant indicating the format of the body text. Read/write.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
Property BodyFormat As OlBodyFormat
Get
Set
'Usage
Dim instance As _SharingItem
Dim value As OlBodyFormat
value = instance.BodyFormat
instance.BodyFormat = value
[DispIdAttribute()]
OlBodyFormat BodyFormat { get; set; }
Property Value
Type: Microsoft.Office.Interop.Outlook.OlBodyFormat
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.