I was following this article and I got my canvas to be saved, however, I want to extend the code\'s functionality and save a particular part of my canvas as an image, rather
See if this solution works for you.
Size size = new Size(width, height); canvas.Measure(size); canvas.Arrange(new Rect(X, Y, width, height)); //Save Image ... ... // Revert old position canvas.Measure(new Size());