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 webforms pdf editor: ASP.NET WebForms PDF Editor: create, view, edit, annotate, redact PDF file in ASP.NET WebForms application
asp.net dnn pdf editor: ASP.NET DNN PDF Editor Control: view, edit PDF files in Dotnetnuke application
asp.net convert pdf: ASP.NET Convert PDF Control: Convert, export PDF to Word, HTML, Tiff files in C# ASP.NET
asp.net document viewer: ASP.NET Document Viewer Control in C#: View, Annotate, Redact web document files in ASP.NET using C#
asp.net pdf file permission: ASP.NET PDF File Permission Control: apply, remove PDF file permission settings in C#
asp.net create pdf: ASP.NET Create PDF Document Control: create, convert PDF file from Word, Excel, Tiff file formats in C# ASP.NET
asp.net sharepoint document viewer: ASP.NET SharePoint Document Viewer: view, annotate, redact documents in SharePoint




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