masoncooper
asked on
Simple DrawImage question for PrintDocument
I'd like to print an image stretched to the maximum available space on a page in PrintDocument. The image is stored as type Image
What I'd like to see is code that will take an Image and call e.Graphics.DrawImage in such a way that the image takes up all the available space (remember to take into account e.marginbounds)
Alternatively, if there is a better method, I'd love to see it, as long as it works.
What I'd like to see is code that will take an Image and call e.Graphics.DrawImage in such a way that the image takes up all the available space (remember to take into account e.marginbounds)
Alternatively, if there is a better method, I'd love to see it, as long as it works.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER