On 6/29/02 11:31, Joseph Feld wrote:
> Does anyone know of any way I can draw a string to a picture in memory at a
> higher resolution for the text then 72dpi? Right now I'm using two separate
> DrawString's to add text to a picture; one for the preview and one for the
> actual print. I hate giving myself extra opportunities for typos! :-)
How is the app structured? Ideally your Paint routine and your Print routine
should both be calling the same method to draw the picture and text, but
with a different resolution passed to the routine depending on which task is
being done.
So you'd have a method, call it Draw, that takes an integer parameter
(Resolution), and a parameter for the graphics port to draw to (g). Then the
drawing is done into the graphics object based on that resolution.
George
--
George Clark - gaclark at sprynet dot com
|