ByteScout PDF Extractor SDK - C# - Rotate PDF Document - ByteScout

ByteScout PDF Extractor SDK – C# – Rotate PDF Document

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF Extractor SDK – C# – Rotate PDF Document

How to rotate PDF document in C# and ByteScout PDF Extractor SDK

Tutorial on how to rotate PDF document in C#

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)

Program.cs
      
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); } } }

ON-PREMISE OFFLINE SDK

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

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

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

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next