Aspose.word : How to know the size of my final document

Hello,

While creating and filling a new document, i wanted to know the size it will take once saved (in my case as a docx document).

Is there a way to get this information without saving the document and checking the file’s size ?

Sincerely.

@guyyyyyyyyyyy No, unfortunately, there is no way to predict the output file size without saving the document.
If you use the same template and same structure of data source, you can try to find some kind of dependently of file size from the number of records in the data source. But even is such simple case the result will not be linear.

1 Like