THotPDF.SetLoadedPageRotation Method

Sets the rotation angle of a specified page in the loaded PDF document, rendering the page in the reader at the specified orientation

Declaration

procedure SetLoadedPageRotation(PageIndex, ADegrees: Integer);

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based index of the target page; 0 indicates the first page
ADegreesRotation angle, must be one of 0, 90, 180, or 270, representing clockwise degrees

Usage notes

Related APIs