Re: Update a graphic and save it



Why not draw to an invisible PictureBox control that's sized to fit
the image you want? The app I'm currently developing uses that
technique to create very large images, and it works fine.

Whilst it seems to be an easy solution, it has some hidden downfalls since somewhere along the line it's based on DDB's.
These have much more stringent size restrictions (mainly on older OS', more recent versions of Windows have relaxed
these limitations as display resolutions get larger), and are also bound to the current display resolution.
DIBs on the other hand are limited only by the amount of available memory (physical + virtual) and are device
independent, however they're slightly more inefficient to draw to the screen which is why they haven't completely
replaced their older cousin.
In this case however, since all the drawing data is vector based, EMFs provide a resolution and bit-depth independent
solution with a fraction of the required memory since only the description of the data is stored as opposed to the
rasterised data itself.
Hope this helps,

Mike


- Microsoft Visual Basic MVP -
E-Mail: EDais@xxxxxxxx
WWW: Http://EDais.mvps.org/


.


Loading