MapiMessageItemBase.SetBodyRtf
MapiMessageItemBase.SetBodyRtf method
Sets the body of the item in RTF format, optionally compressing it.
public void SetBodyRtf(string content, bool compression)
| Parameter | Type | Description |
|---|---|---|
| content | String | The body in RTF. |
| compression | Boolean | true to store the RTF body compressed. |
Remarks
Setting a value updates the plain-text body and the compressed RTF property as well. The value must be RTF; to set an HTML or plain-text body, use SetBodyContent. Setting null or an empty string clears both bodies.
See Also
- class MapiMessageItemBase
- namespace Aspose.Email.Mapi
- assembly Aspose.Email