@adobe/pdfservices-node-sdk
Version:
The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.
31 lines (30 loc) • 1.14 kB
TypeScript
import { PDFServicesJobParams } from "../PDFServicesJobParams";
import { PageAction } from "../../../internal/dto/request/pagemanipulation/PageAction";
import { Angle } from "./Angle";
import { PageRanges } from "../PageRanges";
/**
* Parameters to rotate pages of a PDF using {@link RotatePagesJob}.
*/
export declare class RotatePagesParams implements PDFServicesJobParams {
private readonly _pageActions;
/**
* Constructs a new `RotatePagesParams` instance.
*/
constructor();
/**
* Sets the {@link Angle} to be used for rotating pages specified in {@link PageRanges}.
*
* @param angle - The angle to rotate pages by. Cannot be undefined.
* @param [pageRanges] - The page ranges to be used for rotating pages. If not specified, all pages are included.
* @returns this `RotatePagesParams` instance.
*/
setAngleToRotatePagesBy(angle: Angle, pageRanges?: PageRanges): RotatePagesParams;
/**
* @hidden
*/
validate(): void;
/**
* @internal Used internally by this SDK, not intended to be called by clients.
*/
get pageActions(): PageAction[];
}