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

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, June 13, 2016 6:51:04 AM(UTC)

keitha  
keitha

Groups: Registered, Tech Support
Posts: 8


How can I open a password protected PDF, extract a specific portion of it and have the extract portion display in a picture box? My main issue is with opening the password protected PDF.
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Monday, June 20, 2016 8:29:44 AM(UTC)
Nick Villalobos

Groups: Registered
Posts: 119

Was thanked: 4 time(s) in 4 post(s)

Keitha,

Sometimes, a PDF document is encrypted using a password which doesn't allow you to load it directly. To overcome this issue, simply check whether the PDF file is encrypted or not using the Leadtools.Documents.Document.IsEncrypted property:
https://www.leadtools.com/help/leadtools/v19/dh/dox/leadtools.documents~leadtools.documents.document~isencrypted.html

If the property is True, you can supply the password to decrypt the PDF file using Leadtools.Documents.Document.Decrypt() method:
https://www.leadtools.com/help/leadtools/v19/dh/dox/leadtools.documents~leadtools.documents.document~decrypt.html

You can also refer to the following help topic for more details:
https://www.leadtools.com/help/leadtools/v19/dh/to/leadtools.topics.documents~dox.topics.documents_encryption.html
Nick Villalobos
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.058 seconds.