On this page you will learn from code samples for programming in C#.Writing of the code to rotate PDF document in C# can be done by developers of any level using ByteScout PDF Extractor SDK. ByteScout PDF Extractor SDK: the SDK is designed to help developers with pdf tables and pdf data extraction from unstructured documents like pdf, tiff, scans, images, scanned and electronic forms. The library is powered by OCR, computer vision and AI to provide unique functionality like table detection, automatic table structure extraction, data restoration, data restructuring and reconstruction. Supports PDF, TIFF, PNG, JPG images as input and can output CSV, XML, JSON formatted data. Includes full set of utilities like pdf splitter, pdf merger, searchable pdf maker and other utilities. It can rotate PDF document in C#.
The SDK samples like this one below explain how to quickly make your application do rotate PDF document in C# with the help of ByteScout PDF Extractor SDK. In your C# project or application you may simply copy & paste the code and then run your app! Code testing will allow the function to be tested and work properly with your data.
Download free trial version of ByteScout PDF Extractor SDK from our website with this and other source code samples for C#.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
using System.Diagnostics; using Bytescout.PDFExtractor; namespace RotateDocument { class Program { static void Main(string[] args) { string inputFile = "sample1.pdf"; using (DocumentRotator rotator = new DocumentRotator("demo", "demo")) { rotator.Rotate(inputFile, "result.pdf", RotationAngle.Deg90); } // Open result document in default associated application (for demo purpose) ProcessStartInfo processStartInfo = new ProcessStartInfo("result.pdf"); processStartInfo.UseShellExecute = true; Process.Start(processStartInfo); } } }
60 Day Free Trial or Visit ByteScout PDF Extractor SDK Home Page
Explore ByteScout PDF Extractor SDK Documentation
Explore Samples
Sign Up for ByteScout PDF Extractor SDK Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
60 Day Free Trial or Visit ByteScout PDF Extractor SDK Home Page
Explore ByteScout PDF Extractor SDK Documentation
Explore Samples
Sign Up for ByteScout PDF Extractor SDK Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
also available as: