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

Notification

Icon
Error

New Topic Post Reply
Options
Go to last post Go to first unread
agm  
#1 Posted : Wednesday, October 7, 2020 8:31:27 AM(UTC)
Quote
agm

Rank: Newbie

Groups: Registered
Joined: 6/13/2020(UTC)
Posts: 4

Is it possible to load document form Uri path? I tried, got exception Uri format not supported. Any other way to do it?
Like use byte buffer?
Paul Rayman  
#2 Posted : Thursday, October 15, 2020 3:12:16 AM(UTC)
Quote
Paul Rayman

Rank: Administration

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

Thanks: 10 times
Was thanked: 133 time(s) in 130 post(s)
Hello,

Code:
byte[] byte_buffer = ...;
var doc = PdfDocument.Load(byte_buffer);


Custom loader can also be used.
Here is some examples
https://pdfium.patagames...DK_Document.htm#section3
Quick Reply Show Quick Reply
Users browsing this topic
Guest
New Topic Post Reply
Forum Jump  
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.