How to insert picture into TRichEdit in Delphi?

后端 未结 3 470
庸人自扰
庸人自扰 2020-12-21 05:30

I searched over internet for how to inserting picture in RichEdit. I only found inserting TImage into Richedit, or other 3rd part components to do

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-21 05:55

    You want TRichedit to be TWordEdit which it isn't.

    Out of the box TRichedit doesn't support inline images. You either have to implement it yourself, get a cutom Richedit component (like RxRichedit I think) or start thinking about ole automation and load it as a word document.

提交回复
热议问题