Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

PDFKit.GetPDFAttribute

Component: PDFKit
Version: 2.3
Mac OS X: Works
Windows: Not implemented.

MBS( "PDFKit.GetPDFAttribute"; PDF; Key )

Parameters

Parameter Description Example value
PDF A container value with the PDF content from a media field. Or a text with an URL. Or a PDF reference from PDFKit.Open.
Key Which information to query. This can be one of the following: Title, Subject, Author, Creator, Producer, Keywords, CreationDate or ModificationDate. "Title"

Result

Returns the text or date value requested.

Description

Queries a PDF attribute.

Examples

Get all the information values for a PDF in a container:

"Title: " & MBS("PDFKit.GetPDFAttribute"; combine pdf::test1; "Title") & "�" &
"Subject: " & MBS("PDFKit.GetPDFAttribute"; combine pdf::test1; "Subject") & "�" &
"Author: " & MBS("PDFKit.GetPDFAttribute"; combine pdf::test1; "Author") & "�" &
"Creator: " & MBS("PDFKit.GetPDFAttribute"; combine pdf::test1; "Creator") & "�" &
"Producer: " & MBS("PDFKit.GetPDFAttribute"; combine pdf::test1; "Producer") & "�" &
"Keywords: " & MBS("PDFKit.GetPDFAttribute"; combine pdf::test1; "Keywords") & "�" &
"CreationDate: " & MBS("PDFKit.GetPDFAttribute"; combine pdf::test1; "CreationDate") & "�" &
"ModificationDate: " & MBS("PDFKit.GetPDFAttribute"; combine pdf::test1; "ModificationDate")

Feedback: Report problem or ask question.




Links
MBS Realbasic Chart Plugins - Bilder aus Nickenich