Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

In This Article

Rotates pages by a predefined angle in a PDF Document.

#Declaration

Delphi
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