i've created a document that is the size of an a3 page and does not fit into one screen. Do you know how I would fit it on one screen(so there would be no need for scrolling)?
i've created a document that is the size of an a3 page and does not fit into one screen. Do you know how I would fit it on one screen(so there would be no need for scrolling)?
There is very little information here to go on. If this document is a bitmap, or you can get it into one, then you can blit it to the screen device context using the StretchBlt() API which enable you to expand or compress images. Obiously, you will have resolution problems.
Other scaling features you could investigate are ViewPorts/Mapping Modes, or WorldTransforms. I'm not sure if these are supported in the early versions of Windows.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
Use
StretchBlt();
Get the client area of your screen and use this as the destination.
To improve the quality of the output use
SetStretchBltMode(hdc,HALFTONE);
I use two DC's in my WIN32 API programs print preview.
One is full size and one is screen size. They are both passed as a parameter to the functions that assemble the print. Information about the font sizes, line widths is also passed. ie a structure.