2
Answers

Saving a Scaled,Rotated and Translated GDI+ graphic on a Windows Form

Ask a question
rrasmussen

rrasmussen

19y
2.6k
1
The book Graphics Programming with GDI+ has been a very informative read but I have not found a solution for saving the graphic representation painted on a Windows Form. In my code I open an existing image and create a bitmap from it. The book clearly defines how to use the RotateFlip method and I can save the results of using that method to a new file with no problem. The book details how to use one or more transforms (Scale, Rotate, Translate) to manipulate and paint the results on a Windows Form. I can view the results and print the results with no problem. However, I have not been able to find anyway to save the results to a new image file. Any help would be greatly appreciated.

Answers (2)