Hi Team,
We have lot of multi page tiff. We are trying to convert to pdf and view in our application.
Is that possible to convert and view in web application?
Is possible to convert multipage tiff to pdf?
Re: Is possible to convert multipage tiff to pdf?
Hello.
Sure it's possible.
Tiff to PDF (mTiff to PDF)
PDF Vision .Net:
using System;
using System.IO;
using SautinSoft.PdfVision;
using System.Drawing;
namespace Sample
{
class Program
{
static void Main(string[] args)
{
ConvertMultipageTiffToPdf();
}
public static void ConvertMultipageTiffToPdf()
{
string inpFile = Path.GetFullPath(@"..\..\multipage.tiff");
string outFile = new FileInfo(@"Result.pdf").FullName;
PdfVision v = new PdfVision();
ImageToPdfOptions options = new ImageToPdfOptions();
options.PageSetup.PaperType = PaperType.Letter;
options.PageSetup.PageMargins.Left = LengthUnitConverter.ToPoint(1, LengthUnit.Inch);
try
{
v.ConvertImageToPdf(new string[] {inpFile}, outFile, options);
System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo(outFile) { UseShellExecute = true });
}
catch (Exception ex)
{
Console.WriteLine($"Error: {ex.Message}");
Console.ReadLine();
}
}
}
}
Sure it's possible.
Tiff to PDF (mTiff to PDF)
PDF Vision .Net:
using System;
using System.IO;
using SautinSoft.PdfVision;
using System.Drawing;
namespace Sample
{
class Program
{
static void Main(string[] args)
{
ConvertMultipageTiffToPdf();
}
public static void ConvertMultipageTiffToPdf()
{
string inpFile = Path.GetFullPath(@"..\..\multipage.tiff");
string outFile = new FileInfo(@"Result.pdf").FullName;
PdfVision v = new PdfVision();
ImageToPdfOptions options = new ImageToPdfOptions();
options.PageSetup.PaperType = PaperType.Letter;
options.PageSetup.PageMargins.Left = LengthUnitConverter.ToPoint(1, LengthUnit.Inch);
try
{
v.ConvertImageToPdf(new string[] {inpFile}, outFile, options);
System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo(outFile) { UseShellExecute = true });
}
catch (Exception ex)
{
Console.WriteLine($"Error: {ex.Message}");
Console.ReadLine();
}
}
}
}
Re: Is possible to convert multipage tiff to pdf?
Hi ,
PDF Vision .Net is separate license or all products under one license?
like, PDF Focus .Net, RTF to HTML .Net and others products.
PDF Vision .Net is separate license or all products under one license?
like, PDF Focus .Net, RTF to HTML .Net and others products.
Re: Is possible to convert multipage tiff to pdf?
All products are different! You buy only what you need!
https://sautinsoft.com/order.php
https://sautinsoft.com/order.php
Who is online
Users browsing this forum: No registered users and 0 guests