VeryPDF Cloud API Platform :: PDF Metadata Manager Cloud API :: Extract or Insert Title, Author, Subject, Keywords, Creator, Producer, Created Date, Modified Date from/to PDF files

PDF Metadata Manager Cloud API is a part of VeryPDF Cloud API Platform. PDF Metadata Manager Cloud API is allow you to Extract or Insert Title, Author, Subject, Keywords, Creator, Producer, Created Date, Modified Date from/to PDF files.

http://www.verypdf.com/online/cloud-api/index.html

灯泡 Get PDF Document Properties from an online PDF file

You can execute following URL to get the page number and other information from an online PDF file,

http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=getpagecount&infile=http://online.verypdf.com/examples/cloud-api/verypdf.pdf

You will get following information,

InfoBegin
InfoKey: Title
InfoValue: PDF Tools, Document Process Software, Multimedia Applications and Development Packages - VeryPDF
InfoBegin
InfoKey: Producer
InfoValue: http://www.verypdf.com
InfoBegin
InfoKey: CreationDate
InfoValue: D:20130712095842-04'00'
NumberOfPages: 1
BookmarkBegin
BookmarkTitle: PDF
BookmarkLevel: 1
BookmarkPageNumber: 0
BookmarkBegin
BookmarkTitle: Business
BookmarkLevel: 1
BookmarkPageNumber: 0
BookmarkBegin
BookmarkTitle: Multimedia
BookmarkLevel: 1
BookmarkPageNumber: 0
BookmarkBegin
BookmarkTitle: Development
BookmarkLevel: 1
BookmarkPageNumber: 0
BookmarkBegin
BookmarkTitle: What's New?
BookmarkLevel: 2
BookmarkPageNumber: 0
BookmarkBegin
BookmarkTitle: Support
BookmarkLevel: 2
BookmarkPageNumber: 0
BookmarkBegin
BookmarkTitle: Knowledge Base
BookmarkLevel: 2
BookmarkPageNumber: 0
BookmarkBegin
BookmarkTitle: Social Networks
BookmarkLevel: 2
BookmarkPageNumber: 0
PageMediaBegin
PageMediaNumber: 1
PageMediaRotation: 0
PageMediaRect: 0 0 595 842
PageMediaDimensions: 595 842

This is another APP to get the page count along with other information from the PDF file,

http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=pdfinfo&infile=http://online.verypdf.com/examples/cloud-api/verypdf.pdf

You will get the information like below, you can strip "pages" and other information easily,

Title:          PDF Tools, Document Process Software, Multimedia Applications and Development Packages - VeryPDF
Creator:       
Producer:       VeryPDF
CreationDate:   D:20130712095842-04'00'
Tagged:         no
Form:           none
Pages:          1
Encrypted:      no
Page size:      595 x 842 pts (A4)
MediaBox:       0.00     0.00   595.00   842.00
CropBox:        0.00     0.00   595.00   842.00
BleedBox:       0.00     0.00   595.00   842.00
TrimBox:        0.00     0.00   595.00   842.00
ArtBox:         0.00     0.00   595.00   842.00
File size:      203433 bytes
Optimized:      no
PDF version:    1.4

灯泡 Set PDF Document Properties to a PDF file

The "set" function in PDF Metadata Manager Cloud API provides following parameters,

-setpdftitle <string>         : Set PDF title
-setpdfsubject <string>       : Set PDF subject
-setpdfauthor <string>        : Set PDF author
-setpdfkeywords <string>      : Set PDF keywords
-setpdfcreator <string>       : Set PDF Creator
-setpdfproducer <string>      : Set PDF producer

Run following URL to set the title, subject, author, keywords, creator, producer information into PDF file, if these items are contain special character, e.g., space, etc., you need use urlencode() function to encode the string,

http://online.verypdf.com/api/?apikey=XXXX&app=pdftools&infile=http://online.verypdf.com/examples/cloud-api/verypdf.pdf&outfile=verypdf.pdf&-setpdftitle=title&-setpdfsubject=subject&-setpdfauthor=author&-setpdfkeywords=keywords&-setpdfcreator=creator&-setpdfproducer=producer

image

More articles for VeryPDF Cloud API Platform,

http://www.verypdf.com/wordpress/category/verypdf-cloud-api

If you need any other functions which are not included in VeryPDF Cloud API Platform, please feel free to let us know,

http://support.verypdf.com

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

This entry was posted in VeryPDF Cloud API and tagged . Bookmark the permalink.

One Response to VeryPDF Cloud API Platform :: PDF Metadata Manager Cloud API :: Extract or Insert Title, Author, Subject, Keywords, Creator, Producer, Created Date, Modified Date from/to PDF files

  1. VeryPDF says:

    Hi –

    I’ve got a PDF with pages of multiple sizes, and I’d like to change all pages to 8.5″ x 11″. Is that functionality possible with the Cloud API?

    Thanks!
    Customer
    —————————–
    Yes, this can be done by VeryPDF Cloud API, you may run following URL to resize a PDF file to Letter paper size 8.5″ x 11″,

    http://online.verypdf.com/api/?apikey=XXXX&app=pdftools&infile=http://online.verypdf.com/examples/cloud-api/verypdf.pdf&outfile=verypdf.pdf&-resizepaper=612×792

    VeryPDF

    VN:F [1.9.20_1166]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.20_1166]
    Rating: 0 (from 0 votes)

Leave a Reply to VeryPDF Cancel reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!