Hi we have problems converting Word (docx, 2013) files with PDF.Net 10.6.0. The fields in the headers get “mangled”. I have attached Three files: the Word original, the Aspose output and an Acrobat generated file for comparison.
Hi Sergio,
Hi there,
// Path of input PDF document<o:p></o:p>
String filePath = "Voteringsunderlag.acrobat.pdf";
// Instantiate the Document object
Aspose.Pdf.Document document = new Aspose.Pdf.Document(filePath);
// Create DocSaveOptions object
DocSaveOptions saveOptions = new DocSaveOptions();
saveOptions.Format = DocSaveOptions.DocFormat.DocX;
// Set the recognition mode as Flow
saveOptions.Mode = DocSaveOptions.RecognitionMode.Flow;
// Set the Horizontal proximity as 2.5
saveOptions.RelativeHorizontalProximity = 2.5f;
// Enable the value to recognize bullets during conversion process
saveOptions.RecognizeBullets = true;
// Save the resultant DOC file
document.Save(output, saveOptions);
Sorry, my bad was writing about Another issue re Aspose.PDF and this should of course have been filed under Word. I’ll repost it there. And thanks to Tilal for the tip
Hi Sigge,