---
title: "Aspose::Email::Mapi::MapiMessage::AddEmbeddedImageToRtfBody method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/mapimessage/addembeddedimagetortfbody/"
product: "Aspose.Email for C++"
description: "Adds string data that represents embedded image into rtf body."
---


## AddEmbeddedImageToRtfBody {#addembeddedimagetortfbody}

Adds string data that represents embedded image into rtf body.

**Returns:** Rtf body with embedded image.

```cpp
AddEmbeddedImageToRtfBody(System::String bodyRtf, System::SharedPtr < LinkedResource > linkedResource)
```

| Parameter | Description |
| --- | --- |
| bodyRtf | Rtf body of msg. |
| linkedResource | Inline image resource. |

