Stirling PDF icon

Stirling PDF

Merged API: Stirling PDF - Processing API + Stirling PDF - Management API + Stirling PDF - System API

Actions260

General → Scale Pages

AI-generated

Summary

Scale the pages of a PDF file to a specified page size and content scale factor.

Inputs

  • Input Binary Field Name (File Input) — The name of the binary property that contains the PDF file data to scale. Defaults to 'data' if not specified.
  • File Id — The identifier of a previously uploaded or processed PDF file on the server, which can be used instead of binary file input when processing asynchronously.
  • Page Size (required) — The target page size for the output PDF pages. Options include A0 through A6, LETTER, LEGAL, or KEEP to maintain the original size.
  • Scale Factor (required) — A floating-point value to scale the content within each page, where 1 means 100% (no change).

Output shape

a single binary PDF file with pages scaled accordingly

Either binary input via the specified field or a File Id must be provided. The output PDF will reflect the requested page size and scale factor. The operation supports optional batching and request options (proxy, timeout, SSL configuration). If no binary input or File Id is provided, the operation will not succeed.

Links

Discussion