ByteScout PDF Suite - C# - Convert pdf to multipage tiff with pdf renderer sdk - ByteScout

ByteScout PDF Suite – C# – Convert pdf to multipage tiff with pdf renderer sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF Suite – C# – Convert pdf to multipage tiff with pdf renderer sdk

How to convert pdf to multipage tiff with pdf renderer sdk in C# and ByteScout PDF Suite

Step-by-step tutorial on how to convert pdf to multipage tiff with pdf renderer sdk in C#

Convert pdf to multipage tiff with pdf renderer sdk is simple to apply in C# if you use these source codes below. ByteScout PDF Suite is the set that includes 6 SDK products to work with PDF from generating rich PDF reports to extracting data from PDF documents and converting them to HTML. This bundle includes PDF (Generator) SDK, PDF Renderer SDK, PDF Extractor SDK, PDF to HTML SDK, PDF Viewer SDK and PDF Generator SDK for Javascript. It can convert pdf to multipage tiff with pdf renderer sdk in C#.

The following code snippet for ByteScout PDF Suite works best when you need to quickly convert pdf to multipage tiff with pdf renderer sdk in your C# application. Follow the instructions from scratch to work and copy the C# code. Further improvement of the code will make it more robust.

If you want to try other source code samples then the free trial version of ByteScout PDF Suite is available for download from our website. Just try 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.PDFRenderer; namespace PDF2TIFF { class Program { static void Main() { // Create Bytescout.PDFRenderer.RasterRenderer object instance and register it. RasterRenderer renderer = new RasterRenderer(); renderer.RegistrationName = "demo"; renderer.RegistrationKey = "demo"; // Load PDF document. renderer.LoadDocumentFromFile("multipage.pdf"); int startPage = 0; int endPage = renderer.GetPageCount() - 1; // Save PDF document to black-and-white multi-page TIFF at 120 DPI RenderingOptions renderingOptions = new RenderingOptions(); renderingOptions.TIFFCompression = TIFFCompression.CCITT4; renderer.SaveMultipageTiff("multipage.tiff", startPage, endPage, 120, renderingOptions); // Cleanup renderer.Dispose(); // Open result document in default associated application (for demo purpose) ProcessStartInfo processStartInfo = new ProcessStartInfo("multipage.tiff"); processStartInfo.UseShellExecute = true; Process.Start(processStartInfo); } } }

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout PDF Suite Home Page

Explore ByteScout PDF Suite Documentation

Explore Samples

Sign Up for ByteScout PDF Suite 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 Suite Home Page

Explore ByteScout PDF Suite Documentation

Explore Samples

Sign Up for ByteScout PDF Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next