Hello,
Can you explain when/why Worksheet.SheetToImage() would ever return null?
Albert
Hi Albert,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
There are some scenarios in which Sheet2Image may return null. Like,
- When there is no data in the worksheet.
- When worksheet is hidden i.e. Worksheet.IsVisible = false;
- If Type of Worksheet is SheetType.Chart and there is no chart in the worksheet.
Thank You & Best Regards,