Hi,
I used the following code to produce a image of one cell (although the issue is present with larger images):
Dim mysheet As Worksheet = m_appExcel.Worksheets("Customer Responses")
mysheet.PageSetup.PrintArea = "C7:C7"
mysheet.SheetToImage("O:\Projects\Test\myimage.jpg", System.Drawing.Imaging.ImageFormat.Jpeg)
I've attached the resulting image.
Is there any way to remove the white space that acts as a border around the actual cell image?
Cheers,
Steve