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.
https://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,
You will get following information,
InfoBegin
InfoKey: Title
InfoValue: PDF Tools, Document Process Software, Multimedia Applications and Development Packages - VeryPDF
InfoBegin
InfoKey: Producer
InfoValue: https://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,
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,
More articles for VeryPDF Cloud API Platform,
https://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,
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