add four resized bitmaps size by side

General TRichView support forum. Please post your questions here
Post Reply
Jeanne
Posts: 7
Joined: Fri Nov 18, 2011 4:59 pm

add four resized bitmaps size by side

Post by Jeanne »

I have tried the following
rvesds.Addpicture('',bmp,rvvabaseline)
rvesds.Setitemextraintproperty(rvesds.itemcount-1,rvepImagewidth, 45);
rvesds.Setitemextraintproperty(rvesds.itemcount-1,rvepImagehight, 45);

for each image, however there is a line return between each image
so they are each on a new line, how can i get them all in one line?
Sergey Tkachenko
Site Admin
Posts: 17572
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

AddPicture is obsolete and deprecated.
Use AddPictureEx.

Code: Select all

AddPictureEx('', bmp1, 0, rvvaBaseline);
...
AddPictureEx('', bmp2, -1, rvvaBaseline);
...
AddPictureEx('', bmp3, -1, rvvaBaseline);
...
AddPictureEx('', bmp4, -1, rvvaBaseline);
Jeanne
Posts: 7
Joined: Fri Nov 18, 2011 4:59 pm

Post by Jeanne »

I tried that, they still start on a new line for each picture, I want them all on the same line.
Sergey Tkachenko
Site Admin
Posts: 17572
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

If ParaNo parameter = -1, this picture will be added to the same line.
If it does not work for you, please send me a sample project.
Jeanne
Posts: 7
Joined: Fri Nov 18, 2011 4:59 pm

Post by Jeanne »

That worked :D Thanks
This has been causing me trouble all day
Post Reply