def ToBitmap(self, x: int = <NUM_LIT:0>, y: int = <NUM_LIT:0>, width: int = <NUM_LIT:0>, height: int = <NUM_LIT:0>) -> Bitmap:
bitmap = Bitmap()<EOL>bitmap.FromControl(self, x, y, width, height)<EOL>return bitmap<EOL>
Capture control to a Bitmap object.
x, y: int, the point in control's internal position(from 0,0).
width, height: int, image's width and height from x, y, use 0 for entire area.
               If width(or height) < 0, image size will be control's width(or height) - width(or height).