Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
Extracting text from a password protected document |
Post Reply ![]() |
Author | |
robinto ![]() Beginner ![]() ![]() Joined: 22 Sep 10 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() Posted: 22 Sep 10 at 10:51AM |
Hello,
I cannot extract text from a password protected PDF file by calling the ExtractFilePageText() method. I use the latest DLL version in C#. The password was set in Adobe Acrobat 9, the compatibility to "Acrobat 7 or later". The ExtractFilePageText() returns an empty string. When I remove the password protection, everything works fine. Am I doing something wrong or is it a known bug/feature, please? Thanks in advance. |
|
![]() |
|
robinto ![]() Beginner ![]() ![]() Joined: 22 Sep 10 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
I found a solution: I open the document with LoadFromFile() and extract text by calling GetPageText().
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() 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 |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store