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

Convert PDF files to PowerPoint

The code below shows you how to convert a PDF files to a PowerPoint Presentation, using the OpenFileDialog function to find your PDF files and then the PDFtoPowerPointConverter to convert to Microsoft PowerPoint.

Convert PDF files to PowerPoint

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

Steps for Converting PDF to PowerPoint

  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 and saving files:


    String pdfPath = OpFile.FileName;
    String ppFile= Path.ChangeExtension(pdfPath, ".pptx");

  4. Convert the PDF File using PDFtoPowerPointConverter:


    //convert the file with just this line of code
    ConversionStatus converter = PdfToPowerPointConverter.Convert(pdfFile, ppFile, true);
    ...

 


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