C# TIFF Image Library
Rotate TIFF File Page in C#.NET

How to Rotate TIFF File Page in C#.NET Imaging Application

C#.NET TIFF Rotating Overview

Our .NET Tiff Imaging Toolkit supports Tiff page's rotation in C# programming application. In general, you are able to rotate any page of Tiff document to 90, 180, and 270 degrees in clockwise. Apart from simple rotation feature, RasterEdge XDoc.Tiff for .NET still allows C# users to process and edit rotated Tiff page, like sorting and saving the rotated Tiff page in C#.NET application. RasterEdge .NET Tiff image library also supports other Tiff document page editing functions, such as Tiff page inserting, sorting, deleting, extracting and so on.

Rotate TIFF Page Using Sample C# Code

Using sample Visual C# code below, you can get the first page of loaded Tiff document and rotate it to 90 degrees in clockwise.

// Load a Tiff file.
            TIFFDocument doc = new TIFFDocument(@"C:\demo1.tif");
            if (null == doc)
                throw new Exception("Fail to load the file !");

            // Obtain the first page of Tiff file and rotate it to 90 degrees in clockwise.
            TIFFPage page = (TIFFPage)doc.GetPage(0);

public void Rotate(RotateOder order)

Rotate page 90 degree or flip the page.