Pdf | |
| Member name | Value | Description |
|---|---|---|
| Rotate_0 | 0 | 0 degrees rotation. |
| Rotate_90 | 90 | 90 degrees rotation. |
| Rotate_180 | 180 | 180 degrees rotation. |
| Rotate_270 | 270 | 270 degrees rotation. |
// Rotate the first page of a document 90 degrees clockwise. PdfDocument document = new PdfDocument(); PdfPage page = document.AddPage(); page.Rotation = PdfPageRotation.Rotate_90; document.Save("rotated.pdf"); document.Close();
' Rotate the first page of a document 90 degrees clockwise. Dim document As New PdfDocument() Dim page As PdfPage = document.AddPage() page.Rotation = PdfPageRotation.Rotate_90 document.Save("rotated.pdf") document.Close()