Dim imageStream As Stream = File.OpenRead(DestPath)
Dim radDocument As RadDocument = txtBody.Document
Dim caretPosition As DocumentPosition = radDocument.CaretPosition
caretPosition.MoveToLastPositionInDocument()
Dim inlineImage As New ImageInline(imageStream)
txtBody.InsertInline(inlineImage)
this way the picture shows up in radrichtextbox but after sending the mail it only shows up in my attachments. I also want it to come embedded in the body, that is, in the part where the message is written. What should I do?
Hi Rabia,
What is the format that you are exporting to? How the images are stored depends on this. If you are exporting to HTML you can choose the export mode. Detailed information is available here: Settings. Check the ImageExportMode property.
It transfers as html, how can I follow a path in this case? I would be very grateful if you help me. Have a good day.
Hi Rabia,
I am not sure what you are asking for. Could you please elaborate? Perhaps it would be better if you can create a small project that reproduces this case. This will give us a better understanding of your requirements.
I am looking forward to your reply.