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

Free Support Forum - aspose.com

Aspose.Pdf Save Completed Event

I am trying to save a bunch of files and concatenating it to one pdf file.

I just want to know if there is an event/callback trigger to let us know when the save is completed and the document saved to the file system?

Hello Quang.


Thanks for using our products. I am afraid there is no such direct property or method which can indicate that the PDF document is saved over system but I you may consider using PageCount property of Pdf class present in Aspose.Pdf.Generator namespace. This property returns the page count of generated PDF document but it only returns correct value once the PDF file is saved. If you use this property before saving the PDF file, it will always return 0. In case it does not satisfy your requirements or you have any further query, please feel free to contact.