Click or drag to resize

PdfDocumentRotateSelectedPages Method

Rotates selected pages of the PdfDocument by a specified number of degrees.

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: 5.1.1.20965 (5.1.1.2)
Syntax
public void RotateSelectedPages(
	IEnumerable<int> PageIndexes,
	int Degrees
)

Parameters

PageIndexes
Type: System.Collections.GenericIEnumerableInt32
Indexes of the pages to rotate in an IEnumerable, list or array. PageIndex is a 'Zero based' page number, the first page being 0.
Degrees
Type: SystemInt32
The number of degrees to rotate the pages. 0, 90, 180 or 270 are accepted values.
See Also