Programmatically (C#) convert Excel to an image
问题 I want to convert an excel file to an image (every format is ok) programmatically (c#). Currently I'm using Microsoft Interop Libraries & Office 2007, but it does not support saving to an image by default. So my current work-around is as follows: Open Excel file using Microsoft Interop; Find out the max range (that contains data); Use the CopyPicture() on that range, which will copy the data to the Clipboard. Now the tricky part (and my problems): Problem 1: Using the .NET Clipboard class, I