Aspose.pdf pdf文件转换word时内容的上下标内容显示不对 是需要什么转换参数吗
// 加载PDF文件
Aspose.Pdf.Document pdfDocument = new Aspose.Pdf.Document(pdfFilePath);
// Save using save options
// Create DocSaveOptions object
DocSaveOptions saveOptions = new DocSaveOptions();
// Set the recognition mode as Flow
saveOptions.Mode = DocSaveOptions.RecognitionMode.Textbox;
// Set the Horizontal proximity as 2.5
// saveOptions.RelativeHorizontalProximity = 2.5f;
// Enable the value to recognize bullets during conversion process
saveOptions.RecognizeBullets = true;
saveOptions.Format = DocSaveOptions.DocFormat.DocX;
// 将PDF转换为Word文档
pdfDocument.Save(wordFilePath, saveOptions);