How to C#: Tiff
Using Tiff SDK for C#.NET
Convert PDF to Tiff
Convert PDF to Tiff
  |  
Home ›› XDoc.Tiff ›› C# Tiff: PDF to Tiff

C# TIFF - Convert PDF to TIFF in C#.NET


Guide for Converting PDF File to TIFF Document in C#.NET Programming




C# TIFF Imaging: PDF to TIFF Conversion



RasterEdge is dedicated to offering professional software for document and image conversion that enables C#.NET programmers to transform and convert other file formats to Tiff image/document directly and rapidly. C#.NET Tiff imaging converting SDK, RasterEdge XDoc.Tiff for .NET, can easily convert PDF document to TIFF image  in C#.NET class with mature converting methods. And this is the focus of this guide page.


Related .net document control helps:
asp.net pdf viewer control: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET
asp.net dicom web viewer: ASP.NET Dicom Document Viewer Control: view, annotate dicom imaging files online in ASP.NET
asp.net edit pdf text color: ASP.NET PDF Text Edit Control: online edit PDF text content using C# ASP.NET
mvc document viewer: ASP.NET MVC Document Viewer: view, annotate, redact files on ASP.NET MVC web projects
asp.net view text file: ASP.NET Text file viewer in MVC, WebForms: Open, view, annotate, convert txt files in C# ASP.NET
asp.net display tiff images: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control
asp.net edit pdf image control: ASP.NET PDF Image Edit Control: online insert, edit PDF images in C#




C# Project: DLLs for Conversion from PDF to TIFF



In order to run the following conversion code, please do as follows:


Add references;


  RasterEdge.Imaging.Basic.dll


  RasterEdge.Imaging.Basic.Codec.dll


  RasterEdge.Imaging.Drawing.dll


  RasterEdge.XDoc.Processing.dll


  RasterEdge.Imaging.Raster.dll


  RasterEdge.Imaging.Raster.Core.dll


  RasterEdge.Imaging.Font.dll


  RasterEdge.XDoc.TIFF.dll


  RasterEdge.XDoc.PDF.dll


Use corresponding namespaces;


  using RasterEdge.Imaging.Basic;


  using RasterEdge.XDoc.PDF;


Note: When you get the error "Could not load file or assembly 'RasterEdge.Imaging.Basic' or any other assembly or one of its dependencies. An attempt to load a program with an incorrect format", please check your configure as follows:


If you are using x64 libraries/dlls, Right click the project -> Properties -> Build -> Platform target: x64.


If using x86, the platform target should be x86.




C# TIFF Imaging: PDF to TIFF Demo Without Setting Compression



To help you simply test the mature PDF-to-TIFF conversion function of XDoc.Tiff for .NET, we provide a simple conversion demo here.




// Load your PDF document.
PDFDocument doc = new PDFDocument(@"demo.pdf");
if (null == doc)
        throw new Exception("Fail to load pdf Document");

// Convert PDF to Tiff.
doc.ConvertToDocument(DocumentType.TIFF, @"output.tif");





C# TIFF Imaging: PDF to TIFF Demo With Compression



To help you simply test the mature PDF-to-TIFF conversion with customize compression function of XDoc.Tiff for .NET, we provide a simple conversion demo here.




// Load your PDF document.
            PDFDocument doc = new PDFDocument(@"C:\demo.pdf");
            if (null == doc)
                throw new Exception("Fail to load pdf Document");

            // Convert PDF to Tiff.
            doc.ConvertToDocument(DocumentType.TIFF, @"output.tif", ImageCompress.CCITT);