We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Foreach with pdfDocument.Outlines

Why with foreach (code below), there's not all bookmarks, only the first five bookmarks are displayed (form the sample Aspose.Pdf.Demos-2010 - Bookmarks.aspx.cs)?

But with pdfDocument.Outlines.First and Next, all the bookmarks will displayed.


foreach (OutlineItemCollection outlineItem in pdfDocument.Outlines)
{

strBookMark += @"

" + outlineItem.Title + @"";
}

BookMarks.InnerHtml = strBookMark + "";

Thank you.

Hi Claude,


Thanks for contacting support.

Are you using the demo/sample in evaluation mode ? Please note that when using the component/product in trial mode, only 4 elements can be viewed. In case the problem still persists, please share the source PDF file so that we can test the scenario at our end. We are sorry for your inconvenience.

Yes, I use the demo in evaluation mode, but I viewed 5 elements (not only 4).

Where is the all limitations of the evaluation mode?

Thank you!