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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Extract Title from PDF File
  FAQ FAQ  Forum Search   Register Register  Login Login

Extract Title from PDF File

 Post Reply Post Reply
Author
Message
New User View Drop Down
Beginner
Beginner


Joined: 05 Jun 15
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote New User Quote  Post ReplyReply Direct Link To This Post Topic: Extract Title from PDF File
    Posted: 05 Jun 15 at 6:13PM
Could anybody show me how to extract title from a PDF file?
Back to Top
erico View Drop Down
Senior Member
Senior Member
Avatar

Joined: 24 Sep 14
Location: Minnesota USA
Status: Offline
Points: 51
Post Options Post Options   Thanks (0) Thanks(0)   Quote erico Quote  Post ReplyReply Direct Link To This Post Posted: 05 Jun 15 at 7:32PM
docId = LoadFromFile("fileName", "password");

analysisId = AnalyzeFile(docId);                     // Obtains a plethora of detail about the document

title = GetAnalysisInfo(docId, analysisId, 3);   // 3 is the index for the Title string

You can obtain quite a lot of information about documents with these functions.
Eric O
Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 453
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 05 Jun 15 at 10:40PM
is there was any changes or AnalyseFile() need as parameters:

InputFileName The path and name of the file to analyse.
Password The password to use when opening the file. This can be either the owner or the user password. This parameter can be left blank if the file does not require a password to be opened.
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
Back to Top
New User View Drop Down
Beginner
Beginner


Joined: 05 Jun 15
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote New User Quote  Post ReplyReply Direct Link To This Post Posted: 05 Jun 15 at 11:39PM
I've succeeded by applying this:

    int analysisId = qp.AnalyseFile(filename, "password")
    str Title = qp.GetAnalysisInfo(analysisId,3)

Thanks for the tip.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store