Printing an Image
Use the following method to print an image in any device context:
The RenderCenter property lets you center an image, horizontally, vertically, or both, when printing.
To center the image horizontally, set the
RenderCenter property to TRUE, then call the Render method with the iLeft
parameter set to 0.
To center the image vertically, set the RenderCenter
property to TRUE, then call the Render method with the iTop parameter
set to 0.
To center an image both horizontally and
vertically when printing, set the RenderCenter property to TRUE, then
call the Render method with both iLeft and iTop set to 0.