Loading RichView with Footer?
Posted: Thu Dec 07, 2006 9:31 am
Hi,
i would like to loading the content of Printpreview (with Footer) in the RichView.
That's ok, but why will be loading the Richview without Footer?
It is possibly the total content of Printpreview (with Footer) to loading in the RichView?
Regards
Crowbar
i would like to loading the content of Printpreview (with Footer) in the RichView.
That's ok, but why will be loading the Richview without Footer?
It is possibly the total content of Printpreview (with Footer) to loading in the RichView?
Code: Select all
...
Var
ms : TMemoryStream;
begin
ms:=TMemoryStream.Create;
try
PVPrintPreview.RVPrint.SavePageAsRVF(ms,1);
ms.Position:=0;
RichView1.Clear;
RichView1.LoadRVFFromStream(ms);
RichView1.Format;
finally
ms.Free
end;
end;
...
Crowbar