Create PdfBookmarkEntry for Chart Sheet

Possible Usage Scenarios

Earlier, Aspose.Cells would create PdfBookmarkEntry for a normal sheet. But now Aspose.Cells can also create PdfBookmarkEntry for a chart sheet. Since a chart sheet does not have any other cells except cell A1, it will create a PdfBookmarkEntry for cell A1 only.

Create PdfBookmarkEntry for Chart Sheet

The following sample code loads the sample Excel file, which has four sheets: two of them are normal sheets and the other two are chart sheets. It creates four bookmark entries as follows:

  • Bookmark-I
  • Bookmark-II-Chart1
  • Bookmark-III
  • Bookmark-IV-Chart2

The following screenshot shows the output PDF generated by the sample code for reference.

todo:image_alt_text

Sample Code