Restoring clipping region
Posted on 2000-03-16
I have a problem with the TPrinter object canvas and the clipping region.
I can not find the way to restore a clipping region after I set it up to something else. I don't want to set it to a previus value, but to the original value.
In the TPrinter the printing area is set to the full page at start, but for my procedures I clip the region so they don't print outside what is settled. The problem is that I'm not able to restore the clipping area when I finish.
What I do is exlude any already printing area for what is already printed, so next procedures don't overlay over previous areas.
My actual solution is to store the cliping area the first time I print, and that work ok if you don't change the paper size.