Page 1 of 1

add four resized bitmaps size by side

Posted: Fri Nov 18, 2011 5:31 pm
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?

Posted: Fri Nov 18, 2011 6:39 pm
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);

Posted: Fri Nov 18, 2011 6:41 pm
by Jeanne
I tried that, they still start on a new line for each picture, I want them all on the same line.

Posted: Fri Nov 18, 2011 6:44 pm
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.

Posted: Fri Nov 18, 2011 6:57 pm
by Jeanne
That worked :D Thanks
This has been causing me trouble all day