Closed renesaladrigas closed 2 years ago
Do the annotations show up if you download to PDF and open in acrobat? What happens if you make the annotation in adobe and then view the doc in a browser? I'm just wondering if this is more a problem with the browser vs. something we're doing or can control. There was a point a while back where Chrome would only show Sticky annotations and nothing else...
No loss of data is present when AEV creates the document and prepares it for the browser's print dialog. In fact, closing the print view and downloading the PDF that's displayed via pdf.js or other browser based PDF handlers shows that ALL annotations are present in the PDF, as seen in AEV. This is a case of the browser unable to properly interpret the PDF's annotation data, which is out of this product's control.
The title of this issue is specifically written to explain the problem. Browsers are unable to fully understand the way Aspose writes line annotations in a PDF file. Chrome doesn't display them at all, Firefox displays lines but not arrows. PDFs will display the annotations correctly on readers like Acrobat (only one I have availability to, but assume others work too). See the gif below, noticing how the two files look different after downloading despite traversing basically the same code.![aev_line_annotations_no_inline_download](https://user-images.githubusercontent.com/14186921/139454059-b8f51ca8-4da9-42e7-8e60-96c18ffce5fb.gif)
This is problematic because the Print Annotated PDF action directly brings up a browser window for direct printing or download, causing line annotations to be lost on the downloaded PDF. I also assume the printed PDF will not display those but I do not have access to a printer to confirm.
Is there a way in Aspose to prepare the document correctly from inline download?