PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

PdfDocument.FileSize not set after saving
https://forum.pdfsharp.net/viewtopic.php?f=2&t=3888
Page 1 of 1

Author:  BrianTheK [ Wed Dec 05, 2018 10:02 pm ]
Post subject:  PdfDocument.FileSize not set after saving

After I create and save a pdf, I noticed that PdfDocument.FileSize is 0. I see that it is set in the Pdf properties if I look at the file in Acrobat. Is there I way I can obtain the size on disk without reading it from the file system?

I found an old post from several years ago where this was mentioned, but it wasn't addressed.
search.php?keywords=PdfDocument.FileSize&terms=all&author=&sc=1&sf=all&sk=t&sd=d&sr=posts&st=0&ch=300&t=0&submit=Search

Thanks,
Brian

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/