|
-
Mar 29th, 2010, 08:50 AM
#1
Thread Starter
Fanatic Member
Get Language of PDF-iTextSharp.
Is it possible to get What language is set to the PDF for Reading Options?
Example:English or German
Visual Studio.net 2010
If this post is useful, rate it

-
Mar 29th, 2010, 01:10 PM
#2
Re: Get Language of PDF-iTextSharp.
Where is that info about language being store? Is it stored in metadata using a custom property?
Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
- Abraham Lincoln -
-
Mar 30th, 2010, 12:42 AM
#3
Thread Starter
Fanatic Member
Re: Get Language of PDF-iTextSharp.
It will be stored in the "Reading Options" in the PDF..
To see the language of the PDF, below is the procedure.
1.Open the PDF.
2.Ctrl + D(Document Properties) --> Advanced --> Reading Options --> Language.
I check in Metadata whether the data stored..,
Visual Studio.net 2010
If this post is useful, rate it

-
Mar 30th, 2010, 01:53 AM
#4
Thread Starter
Fanatic Member
Re: Get Language of PDF-iTextSharp.
Hi , i got the output using PDFBox..
vb Code:
Dim doc As PDDocument = PDDocument.load(".../Temp.pdf")
Console.writeline(doc.getDocumentCatalog.getLanguage())
i need the same in iTextsharp..
Visual Studio.net 2010
If this post is useful, rate it

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|