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

Free Support Forum - aspose.com

Why Aspose.Pdf.Document.Optimize() method is not enable by default?

Hi Team,
I am creating the Pdf using aspose and have found Optimize() method to open first page as quickly as possible. Could you please reply the below questions:

  1. Is there any limitation to use it and why it is not enable by default?
  2. Is it specific for the Web only?



There are no limitations, but this restructures PDF file and may take time, which is why this was not made default.

Yes, mainly this feature required for Web View because it allows to have access to first page of the document before entire document is loaded.