I have used PrintInPlace for comments and that works but PrintSheetEnd does not work. tried with version 17.5.0.0
private bool Convert(string source, string destination)
{
Aspose.Cells.License cellsLicense = new Aspose.Cells.License();
cellsLicense.SetLicense(“Aspose.Total.lic”);
if (Path.GetExtension(source) != “.xls” && Path.GetExtension(source) != “.xlsx”)
return false;
Workbook wb = new Workbook(source);
PdfSaveOptions pdfOptions = new PdfSaveOptions();
foreach (Worksheet ws in wb.Worksheets)
{
if (_printComments_cb.Checked)
{
foreach (Comment c in ws.Comments)
c.IsVisible = true;
ws.PageSetup.PrintComments = PrintCommentsType.PrintSheetEnd;
}
}
wb.Save(destination, pdfOptions);
return true;
}