# Rotating PDF documents The page describes how to rotating the PDF document pages using GroupDocs.Annotation for .NET API. GroupDocs.Annotation v21.12 and later allows you to rotate the PDF document page by 90, 180, 270 degrees clockwise. To do this, specify the page number as the [ProcessPages](https://reference.groupdocs.com/annotation/net/groupdocs.annotation/annotator/processpages/) property and then set the [Rotation](https://reference.groupdocs.com/annotation/net/groupdocs.annotation/annotator/rotation/) property to one of the following values: * None does not rotate the document * on90 rotates the document 90 degrees clockwise * on180 rotates the document 180 degrees clockwise * on270 rotates the document 270 degrees clockwise By default, the property is set to `None`. The following code snippets shows how to rotate the first page by 90 degrees clockwise: {{< tabs "example1">}} {{< tab "C#" >}} ```csharp using (Annotator annotator = new Annotator("annotated_file.pdf")) { annotator.ProcessPages = 1; annotator.Rotation = RotationDocument.on90; annotator.Save("result.pdf"); } ``` {{< /tab >}} {{< /tabs >}}