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.

Try ByteScout PDF Renderer SDK today:  60 Day Free Trial (on-premise) or  Web API (on-demand version)

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); } } }

Try ByteScout PDF Renderer SDK today:  60 Day Free Trial (on-premise) or  Web API (on-demand version)

VIDEO

ON-PREMISE VERSION INFORMATION

Get 60 Day Free Trial or Visit ByteScout PDF Renderer SDK Home Page

Explore ByteScout PDF Renderer SDK Documentation

Get ByteScout PDF Renderer SDK Free Training

WEB API

Get Your Free API Key

Explore Web API Documentation

Tutorials:

prev
next