Docx to PDF via Adobe Acrobat not acknowledging lines

If you draw a line in a docx file and then “Save As” PDF or “Print To” PDF in Word, lines get rendered correctly after going through Aspose.

If you draw a line in a docx file and then “Create PDF” in Adobe Acrobat, the line does not render after going through Aspose.

@rory.thompson

The feature of converting DOCX into PDF is offered and carried out by Aspose.Words. Can you please share a bit more details like sample files, code snippet and steps to reproduce the issue that you are facing? We will further proceed to assist you accordingly.

@asad.ali

We’re not using Aspose.Words to do the conversion, the problem occurs when making a change to a PDF and then re-saving it.

using (var pdfDocument = new Aspose.Pdf.Document(sourceFile))
{
    // do something
    pdfDocument.Save(outputFile);
}

If we create the PDF via any method other than Adobe Acrobat, the drawed lines will persist after saving. If we create the PDF via Adobe Acrobat, the drawed lines do not persist after saving. The lines are present in the PDF file before we save.

This issue was not present in version 21.9, but is present in 22.5

@rory.thompson

We request you please try using 23.1 version of the API and if issue still persists, please share your sample document with us that you are processing with Aspose.PDF and some steps to reproduce the issue. We will further proceed to assist you accordingly.