ByteScout PDF Renderer SDK - C# - Override Resolution in Multipage TIFF - ByteScout

ByteScout PDF Renderer SDK – C# – Override Resolution in Multipage TIFF

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF Renderer SDK – C# – Override Resolution in Multipage TIFF

override resolution in multipage TIFF in C# with ByteScout PDF Renderer SDK

override resolution in multipage TIFF in C#

ByteScout tutorials explain the material for programmers who use C#. ByteScout PDF Renderer SDK helps with override resolution in multipage TIFF in C#. ByteScout PDF Renderer SDK is the software development kit for rendering of PDF files into high quality images or thumbnails. Various functions are included as well: batch processing, PNG, TIFF output, selection area to render, layers management to render text or images or vectors only. Designed for use from web, desktop and middleware applications.

This rich sample source code in C# for ByteScout PDF Renderer SDK includes the number of functions and options you should do calling the API to implement override resolution in multipage TIFF. Follow the instruction from the scratch to work and copy and paste code for C# into your editor. Test C# sample code examples whether they respond your needs and requirements for the project.

Trial version can be downloaded from our website. Source code samples for C# and documentation are included.

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 OverrideResolutionInMultipageTiff { 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 RenderingOptions renderingOptions = new RenderingOptions(); renderingOptions.TIFFCompression = TIFFCompression.CCITT4; renderingOptions.ResolutionOverride = 300; // Generate 800x600 px multipage TIFF renderer.SaveMultipageTiff("multipage.tiff", startPage, endPage, 600, 800, 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 Renderer SDK Home Page

Explore ByteScout PDF Renderer SDK Documentation

Explore Samples

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

Explore ByteScout PDF Renderer SDK Documentation

Explore Samples

Sign Up for ByteScout PDF Renderer SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next