Desktop Products:

Process Automation:

Software Development:

PDF til Word konverterer Kunder

Solid Framework Code Sample

This is a concise sample to help get started with Solid Framework SDK

Convert TIFF to PDF

The code below shows you how to convert TIFF files to a PDF file, using the OpenFileDialog function to find your TIFFs and then the ImagePrintProvider to convert them to PDF. After you have created a PDF file, you can then convert it to a Searchable PDF/A 2b archive.

Convert TIFF to PDF

Click to play Code Walk Through Video

Steps for Converting TIFF files to PDF

  1. Import the trial Developer License:

    License.Import(new StreamReader(@"C:\Users\Joe\license.xml"));

  2. Locate the PDF files using OpenFileDialog:

    OpenFileDialog dialog = new OpenFileDialog();
    //show only Tiff Files
    dialog.Filter = "TIFF files (*.tif)|*.tif";
    dialog.Multiselect = true;

    if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)

  3. Convert to PDF using the ImagePrintProvider:

      using (ImagePrintProvider imagePrintProvider = new ImagePrintProvider())
        imagePrintProvider.Optimize = Optimize.Professional;
        PdfDocument document = imagePrintProvider.PdfCreator.PdfDocument;
        document.Path = Path.ChangeExtension(dialog.FileNames[0], ".pdf");


©2000-2018 Solid Documents Limited - med enerett