DetectTables

PdfImportOptions.DetectTables property

Determina si se detectan tablas al importar un archivo pdf.

public bool DetectTables { get; set; }  

Ejemplos

Ejemplo:

[C#]  
using (Presentation pres = new Presentation())  
{  
    using (Stream stream = new FileStream("document.pdf", FileMode.Open, FileAccess.Read, FileShare.Read))  
    {  
        // establecer detección de tablas  
        pres.Slides.AddFromPdf(stream, new PdfImportOptions { DetectTables = true });  
    }  
    
    pres.Save("fromPdfDocument.pptx", SaveFormat.Pptx);  
}  

Ver También