Asztali termékek:

Folyamat automatizálás:

Szoftverfejlesztés:

 
PDF-ből Word-be konvertáló Vevők
 

Solid Framework kódolási minta

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

Extract Images from PDF Files

Using the Solid Framework Converters object.

Extract Images from PDF Files

Kattintson ide a lépéseket bemutató videó lejátszásához

Steps for using the PdfToImageConverter object

  1. Import the trial Developer License:


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

  2. Locate the PDF files using OpenFileDialog:


    OpenFileDialog OpFile = new OpenFileDialog();
    //show only PDF Files
    OpFile.Filter = "PDF Files (*.pdf)|*.pdf";

    if (OpFile.ShowDialog() == System.Windows.Forms.DialogResult.OK)
    {
    ...

  3. Define strings to manage opening files:


    string PdfFullPath = OpFile.FileName;

  4. Extract the images using PDFtoImageConverter:


    //Construct a PdfToPdfAConverter object.
    using (PdfToImageConverter converter = new PdfToImageConverter())
    {
    //Add the Selected File
      converter.AddSourceFile(PdfFullPath);

    //Set where to save the images
      converter.OutputDirectory = @"C:\MyConversion";

    //Extract the images using .Convert
      converter.Convert();
    }
    ...

 


Oldaltérkép
©2000-2017 Solid Documents Limited - Minden jog fenntartva