in Winform application, i have a user control; on which shapes like rectangle,circle etc. are drawn. i am trying to take snapshot of the same by using DrawToBitmap() method. i have a Bitmap of fixed size(300 x 300) and user control is of size (600 x 800) so the taken snapshot contains only part of the user control.
how to get the snapshot of entire user control in the bitmap ? thanks in advance.