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

Read large PDF and get only some info
https://forum.pdfsharp.net/viewtopic.php?f=2&t=4310
Page 1 of 1

Author:  Fitik [ Fri Dec 17, 2021 9:24 pm ]
Post subject:  Read large PDF and get only some info

Hello,
we have large PDF (over 2GB) we want to scan and check whether it is signed or not.

When trying to open we got ArgumentOutOfRangeException.
Found PdfDocumentOpenMode.InformationOnly option, but it also seems to load whole document to memory and fails.

However we dont need to access all data of the file. Is there any way to read just some data (like signature) when opening the the stream?

Thank you, nice day,
Fitik

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