Using SheetToImage on WorkSheet to create a BitMap that I can include in an email to end users, the issue is that the image created by Aspose is not the same as the image I can generate from Excel, i.e. I open up the same Sheet and Copy the selected area, and do a Paste Special in a new Email in Outlook, and compare the images, and the one generated from Aspose is somewhat distorted, i.e. the bold font is blurred and the width and height of the image is different to that of the image generated directly from excel
The quality of the Aspose image is to a point where it is difficult to read, please help
I have included the code that I am using to generate the image, reportSheet is the current Sheet that I am generating the image for
Any help would be appreciated.
string printarea = string.Format("{0}:{1}",
CellsHelper.CellIndexToName(0, 0),
CellsHelper.CellIndexToName(area.RowCount-1, area.ColCount-1));
reportSheet.PageSetup.LeftMargin = 0;
reportSheet.PageSetup.RightMargin = 0;
reportSheet.PageSetup.TopMargin = 0;
reportSheet.PageSetup.BottomMargin = 0;
reportSheet.PageSetup.PrintArea = printarea;
reportSheet.PageSetup.Orientation = PageOrientationType.Portrait;
reportSheet.PageSetup.Zoom = 100;
reportSheet.PageSetup.PrintGridlines = false;
reportSheet.PageSetup.IsPercentScale = true;
reportSheet.PageSetup.PrintQuality = 600;
reportSheet.SheetToImage(imageFilename, System.Drawing.Imaging.ImageFormat.MemoryBmp, false);