As can be seen from the attached, exceptions are coming out while running the function calls.
I’m using Aspdf.Pdf 10.9.0.
Thanks for contacting support.
I have tested the scenario using Aspose.Pdf for .NET 10.9.0 where I have used one of my sample PDF files with the code snippet which you have shared earlier and I am unable to notice any issue. Can you please share some sample project, so that we can test the scenario in our environment. We are sorry for this inconvenience.