Is print preview in .NET wothwhile?

  • Thread starter Thread starter R_O_O_K
  • Start date Start date
R

R_O_O_K

Hi!

I am preparing to write a small library for generating reports. One of
the key features is that it must support print previews. .NET has a
PreviewPrintControler but according to the docs it is keeping the whole
preview in Images. The library should be able to preview quite large
reports (over 100 pages) also on resource starving computers (like 64 MB
RAM 300 Mhz Celerons). Would PrintPreview eat the whole memory available
or does it have some optimizations to counter the problem? What are your
experiences?

Regards!
Micha³ Ziemski
 
I have done some tests and it seems that the print preview in .NET is
pretty memory-efficient. A simple WinForms app (form +
printpreviewcontrol) eats up 13MB of RAM loading a print preview eats
additional 3MB but this amount semms not to be much dependent on the
actual number of pages printed.

These apply to 1.0 framework app being run form IDE Debug release.

After all it seems that print preview in .NET is qute a nice tool.

Regards!
Micha³ Ziemski

Dnia 2003-07-11 01:14, U¿ytkownik R_O_O_K napisa³:
 
Back
Top