Hi,
I've got an InvalidCastException in Aspose.Pdf.Kit.dll assembly with a multi-levels bookmarked Pdf. Then i tried with another Pdf (single level bookmark) and it runs without any exception.
Here's the stack if it can help you :
x22bcffa34b42a390.x93baed8933778e80.x41b1a34077c4ae7a(x5bdee61ea12b1569 xccb63ca5f63dc470, Int32 x66bbd7ed8c65740d, IList x9961d01c6815ef17, BookMarks xf69c6c8125cda4f8)
x22bcffa34b42a390.x93baed8933778e80.x2f1891c297bf7100()
Aspose.Pdf.Kit.PdfContentEditor.ExtractBookMarks()
Tom.