I need to take a screenshot of the entire screen and turn it into a bitmap that is maybe 300 x 300 pixels.
I can do CopyClientToBitmap to get the screen as a bitmap, or I could do GetClientCanvas to make a canvas that has the whole screen on it.
That part is pretty easy.
To make it smaller I can simply copy the bitmap's canvas onto another canvas.
That will work for shrinking it to the right size, but now what?SCAR Code:CopyCanvas(BmpCanvas, NewCanvas, 0, 0, 800, 700, 0, 0, 300, 300);
I need to either be able to save a canvas as a bitmap or copy the canvas onto the bitmap's canvas and then save the bitmap.



Reply With Quote













