TIFF/TIF to PDF in COM/ActiveX
How to Convert TIFF to PDF
TIFF or multi page TIFF can be converted to PDF using the DynamicPDF Core Suite TiffFile class.. DynamicPDF Core Suite provides more control of individual page elements if any are being added to the PDF in additiong to from converting TIFF to PDF. ImageData can also be reused if images are being added individually using the Image class to the PDF to save memory and to reduce the output PDF size. Please refer to theImageReuse topic from our help documentation for more information.
Steps to Convert TIFF/Multipage TIFF to PDF
- Create a
Document
object. - Append a TIFF file to the Document instance.
- Draw the output PDF to browser.
Sample Code - ASP
Dim MyDocument
Set MyDocument = Server.CreateObject("DynamicPDF.Document")
MyDocument.AppendTiffFile Server.MapPath("MyMultipageTiff.tiff")
MyDocument.DrawToWeb
Getting Started
NuGet Package
DynamicPDF Core Suite is available on NuGet and is part of the ceTe.DynamicPDF.CoreSuite.NET
package. The easiest way to install the package is through the Visual Studio Package Manager. You can also download the package directly from NuGet.
DynamicPDF Core Suite Information
More information can be found on the DynamicPDF Core Suite webpage.
Available on Other Platforms
DynamicPDF Core Suite is available for the Java and COM/ActiveX platforms. Refer to the respective product pages for more details.
- Java - DynamicPDF Generator for Java
- COM/ActiveX - DynamicPDF Generator for COM/ActiveX