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

Free Support Forum - aspose.com

PDF size before save


Is there any way how to get PDF size before document save(outStream, FORMAT);


Hi Martin,

Thanks for your inquiry. Unfortunately, there is no way to get Pdf file size without calling Document.Save method. You need to call this method to get the size of Pdf stream.

We apologize for your inconvenience.