I have a picture with height 100px. I add it to RichView and insert some long text after that:
Code: Select all
var
Bitmap: TBitmap;
begin
Bitmap := TBitmap.Create;
Bitmap.LoadFromFile('C:\test.bmp');
RV.AddPictureEx('', Bitmap, -1, rvvaMiddle);
RV.AddNL(Memo1.Text, 0, -1);
RV.Format;
Code: Select all
----------------------
| |
| |
| |
| |
| |Bla bla bla bla bla bla bla bla bla bla bla bla
| |
| |
| |
| |
----------------------
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla ......
Code: Select all
----------------------
| |Bla bla bla bla bla bla bla bla bla bla bla bla
| |bla bla bla bla bla bla bla bla bla bla bla bla
| |bla bla bla bla bla bla bla bla bla bla bla bla
| |bla bla bla bla bla bla bla bla bla bla bla bla
| |bla bla bla bla bla bla bla bla bla bla bla bla
| |bla bla bla bla bla bla bla bla bla bla bla bla
| |bla bla bla bla bla bla bla bla bla bla bla bla
| |bla bla bla bla bla bla bla bla bla bla bla bla
| |bla bla bla bla bla bla bla bla bla bla bla bla
----------------------