We’re excited to bring new EditPdf
API updates to your attention!
With the release of Cloudmersive Convert API V-6-6-1, new paperSize
parameter values have been added to the Resize PDF
API.
These values include the following new paper sizes:
Letter
Legal
Tabloid
Ledger
B5
Previously, Resize PDF
values included A7
through A0
.
Letter
size
Adding the Letter
value to your Resize PDF
request converts the existing paper size to 8.5 x 11 inches (216 x 279 mm). This is considered a standard paper size in the United States, and it’s commonly used for a wide range of documents.
Legal
size
Requesting a page size conversion to Legal
returns PDF pages that are 8.5 x 14 inches (216 x 356 mm) long. The Legal
paper size is a version of Letter
optimized for legal use-cases; it maintains identical horizontal proportions while accommodating extra page length.
Tabloid
size
Utilizing the Tabloid
value converts pages to 11 x 17 inch (279 x 432 mm) dimensions. As the name suggests, this page size is designed with publications (newspapers, magazines, etc.) in mind.
Ledger
size
Converting PDF pages to Ledger
size results in the same 11 x 17 inch (279 x 432 mm) dimensions as the Tabloid
value. The only difference is that pages are returned in landscape orientation to facilitate the presentation of accounting materials (e.g., spreadsheets converted to PDF).
B5
size
Specifying the B5
PDF paper size returns 6.93 x 9.84 inch (176 x 250 mm) pages. This medium-sized option is commonly used for books and other stationery materials.
Changing PDF paper sizes with Cloudmersive
Resize PDF
requests are handled by passing PDF file bytes and a paperSize
parameter string to the Convert API EditPdf
endpoint in an application/octet-stream
request. The Resize PDF
API returns modified PDF file bytes as a string in its response.
If you have any questions about utilizing new Resize PDF
parameter values or leveraging EditPdf
APIs as a whole, please feel free to reach out to a member of our team.