Insert Pagebreak in TRichView
Posted: Thu Aug 02, 2007 3:33 pm
I am a newbie evaluating TRichView.
I mainly use TRichView to help me print pictures of the following code:
for i:=1 to 1000 do
begin
jpeg:=tjpegimage.create;
jpeg.LoadFromFile(inttostr(i) + '.jpg');
RichView1.AddPictureEx('', jpeg, -1, rvvaMiddle);
end;
By far I am very satisfied with TRichView to help me insert pictures and print. But I don't know how to insert page break to force a picture to start at a new page. I wonder how I can:
1) Insert pagebreak for a new page;
2) Whether I can determine the distance from a picture to the bottom margin or something like that.
Thanks for any help!
Rgds,
scchui
I mainly use TRichView to help me print pictures of the following code:
for i:=1 to 1000 do
begin
jpeg:=tjpegimage.create;
jpeg.LoadFromFile(inttostr(i) + '.jpg');
RichView1.AddPictureEx('', jpeg, -1, rvvaMiddle);
end;
By far I am very satisfied with TRichView to help me insert pictures and print. But I don't know how to insert page break to force a picture to start at a new page. I wonder how I can:
1) Insert pagebreak for a new page;
2) Whether I can determine the distance from a picture to the bottom margin or something like that.
Thanks for any help!
Rgds,
scchui