Click or drag to resize

PageDegreeToRotation Method

Convert a number that represents rotation in degrees to a rotation enum.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public static PageRotate DegreeToRotation(
	int r
)

Parameters

r
Type: SystemInt32
degree to convert to rotation. Valid numbers are multiples of 90.

Return Value

Type: PageRotate
one of four angles; e_0, e_90, e_180 or e_270. Returns e_0 if input is not a multiple 90.
Exceptions
ExceptionCondition
[!:PDFNetException] PDFNetException the PDFNet exception
See Also