Render Worksheet to Graphic Context

Render Worksheet to Graphic Context

The following code illustrates how to use Aspose.Cells to render a worksheet to a graphic context. Once you execute the code, it will print the entire worksheet and fill the leftover empty space with blue color in the graphic context and save the image as test.png file. You can use any source Excel file to try this code. Please also read the comments inside the code for better understanding.