logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
DFletcher  
#1 Posted : Tuesday, February 21, 2017 7:56:23 AM(UTC)
DFletcher

Rank: Member

Groups: Registered
Joined: 12/27/2016(UTC)
Posts: 10
United States

Hi

PdfDocument current supports Load(stream). Is there an equivalent way to get a document as a stream, such as Save(out stream)?

We are simply setting field values on existing PDF documents and need to save the documents to a database. We are not trying to create new objects on the PDF.

To do this with the current version of PDFium, it is necessary to save the PDF as a temporary file, re-open the file as bytes then save it. We would like to eliminate the temporary file and simply pull the stream back out of the document.

Thanks
D
Paul Rayman  
#2 Posted : Wednesday, February 22, 2017 5:50:12 AM(UTC)
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 1,138

Thanks: 10 times
Was thanked: 133 time(s) in 130 post(s)
DFletcher  
#3 Posted : Saturday, February 25, 2017 11:30:53 AM(UTC)
DFletcher

Rank: Member

Groups: Registered
Joined: 12/27/2016(UTC)
Posts: 10
United States

Excellent, thank you Paul.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.