Skip to main content

dxPDFDocumentRotatePages(TdxPDFDocument,Integer[],TcxRotationAngle,TdxPageNumbers,TdxPageOrientationSubset) Method

Rotates pages by a predefined angle in a PDF Document.

Declaration

procedure dxPDFDocumentRotatePages(ADocument: TdxPDFDocument; const APageIndexes: array of Integer; AAngle: TcxRotationAngle; APageNumbers: TdxPageNumbers = pnAll; APageOrientation: TdxPageOrientationSubset = posAll);

Parameters

Name Type Description
ADocument TdxPDFDocument

A PDF document container that stores the target document.

APageIndexes Integer

An array of page indexes that specifies the list of rotated pages.

AAngle TcxRotationAngle

A rotation angle from the predefined list.

APageNumbers TdxPageNumbers

Specifies whether the procedure rotates even, odd, or all specified pages.

APageOrientation TdxPageOrientationSubset

Specifies whether the procedure rotates all pages or only those that have landscape or portrait orientation.

See Also