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

Free Support Forum - aspose.com

Inherit PDF.Document

I want to create a custom PDF.Document to add a processing counter property so I can update it when converting each page of a PDF so I can track progress. I get an error saying “Error 170 ‘PDFDocWithCounter’ cannot inherit from class ‘Document’ because ‘Document’ is declared ‘NotInheritable’. C:\Users\Simon\Documents\Visual Studio 2013\Projects\Breeze 2013\Breeze 4.0\PDFSavers\PDFDocWithCounter.vb 4 14 Breeze 4.0”

I need to increment a counter for each page processed and be able to read it or update a status variable.


To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input PDF.
  • Please attach the expected output file that shows the desired behavior.
  • Please create a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.