ByteScout PDF Suite - C# - Override resolution in multipage tiff with pdf renderer sdk - ByteScout

ByteScout PDF Suite – C# – Override resolution in multipage tiff with pdf renderer sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF Suite – C# – Override resolution in multipage tiff with pdf renderer sdk

override resolution in multipage tiff with pdf renderer sdk in C# using ByteScout PDF Suite

Learn to code in C# to make override resolution in multipage tiff with pdf renderer sdk with this simple How-To tutorial

Every ByteScout tool includes sampleC# source codes that you can find here or in the folder with installed ByteScout product. ByteScout PDF Suite was created to assist override resolution in multipage tiff with pdf renderer sdk in C#. 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.

The below SDK samples describe how to quickly make your application do override resolution in multipage tiff with pdf renderer sdk in C# with the help of ByteScout PDF Suite. If you want to know how it works, then this C# sample code should be copied and pasted into your application’s code editor. Then just compile and run it. This basic programming language sample code for C# will do the whole work for you in implementing override resolution in multipage tiff with pdf renderer sdk in your app.

Our website gives free trial version of ByteScout PDF Suite. It includes all these source code samples with the purpose to assist you with your C# application implementation.

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 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