Hi,I have a range of multiple pages tiff images, and I need add all of them into a new PDF document. Can your library do this for me? Looking forward to response from you.
---- Martin
Hi,I have a range of multiple pages tiff images, and I need add all of them into a new PDF document. Can your library do this for me? Looking forward to response from you.
---- Martin
Hi, Martin.
If you want to convert several multi-page tiff images to one PDF document, of course, pqScan .NET Image to PDF SDK can help you. It means, if you have two multiple pages tiff files, the first tif has 3 pages in, the second tif has 3 pages in. After the converting by our .net PDF to image control, you will get a 7 pages PDF document on your pc. And the page index in the PDF is keeping the original order in the tiff image.
Our .net Image to PDF converter also support to add single page images to PDF document, such as single page tiff, jpeg, bmp, png and gif image.
The following C# code shows how to translate several multiple pages tiff images and merge them to a PDF file. With the intelligent converting methods, it's just the same way of combining the single page image to PDF without extra operation.
using System; using System.Collections.Generic; using System.Drawing; using PQScan.ImageToPDF; namespace ImageToPDFQuestion { class Program { static void Main(string[] args) { //create a PDF converter object. PDFConverter pdfConverter = new PDFConverter(); //add all multi-page tiff image to translate list. List<string> tifImages = new List<string>(); tifImages.Add("multile-page-img1.tif"); tifImages.Add("multile-page-img2.tif"); tifImages.Add("multile-page-img2.tif"); //set output pdf file name. string fileName = "result.pdf"; //convert tiff images to a new PDF document. pdfConverter.CreatePDF(tifImages.ToArray(), fileName); } } }
Hope the C# code can be helpful.
---- pqScan Support Team
Copyright © pqScan 2010-2023. All Rights Reserved.