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
)
Public Shared Function DegreeToRotation (
r As Integer
) As PageRotate
public:
static PageRotate DegreeToRotation(
[InAttribute] int r
)
pdftron.PDF.Page.DegreeToRotation = function(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 Exception | Condition |
---|
[!:PDFNetException] | PDFNetException the PDFNet exception |
See Also