|
1) It is possible to print the annotations (Stamp, ink ...) ? Because they are invisible when printing the PDF file .
There is only the flattened signature, visible when printing the document.
I tried to loop and change the annotation flags to AnnotationFlags.Print when saving the pdf in Sfpdf viewer but the annotations are still invisble.
Does it exist any workaround with the PdfLoadedDocument class, for example ?
2) I' am still facing the "issue" : Application crashes when unloading the PDF. I thought it will be fixed in the last updates : "Service pack release" and "Main release". I tried to change the sfpdf version to : 18.1.0.42 or 18.1.0.52 but the unloading method make my app crash. |
We were unable to reproduce the issue, “Annotation are not visible while printing the PDF document” and “Application crashes while unloading” in our end.
Please find the sample in the below link,
Kindly share the following details to analyze more on this issue and assist you with the better solution
Note: We have also checked by printing the PDF document using Adobe Reader after saving in the PDFviewer control.
|
|
Do you have any plans release for providing compression support in the PDF Library on Xamarin Forms ? |
We have already logged a feature request for the feature “Support for compressing PDF document in Xamarin Forms platform”. At present we do not have any immediate plans to implement this and will let you know once the feature is implemented. The status the feature can be tracked through our Feature Management System,
|
|
We were unable to reproduce the issue, “Application crashes while unloading the PDFviewer control in PageByPage view mode” in Android Platform, its working as expected.
Please find the video illustrate how we checked your sample,
Kindly share the following details to analyze more on this issue and assist you with the better solution
|
|
We were able to reproduce the issue, “Stamp Annotation are not preserved properly while printing PDF document in PagebyPage View mode” in Android Platform. Currently, we are validating the issue and we will update the further details on June 11th, 2020.
|
Hi,
I tried with a new PDF document and the issue is not raised with it but I shared 2 PDF document where the application is crashing.
"Could you please confirm whether you are facing the issue only with a particular PDF document and with a particular device?. If so, kindly share the PDF document along with complete device specifications to reproduce the issue."
I confirm that I'am facing the issue only with a particular PDF document but I cannot confirm that it is defected with a particular device. I tested on emulators and the issue is raised with the particular PDF documents, howewer for the moment I 'am not able to test with multiples physical device.
"Please find the video illustrate how we checked your sample,
https://www.syncfusion.com/downloads/support/directtrac/general/ze/Video827173595.zip"
Could you tried the same steps but with the PDF documents shared ?
Since I cannot get stacktrace for the moment I shared the output.
"As mentioned earlier, currently we are validating the issue, “Stamp Annotation is not preserved properly while printing PDF document in PagebyPage View mode” and we will update further details on June 11th, 2020.
With the sample previously shared It aslo happen in "continous page view mode" and not only with the stamp annotation but with all the annotations in general exepted the flatened signature. If, it is not defected from your side could you please shared a sample with a custom print document adapter ?
Attachment: Desktop_d7fca922.rar
|
private void PrintButton_Clicked(object sender, EventArgs e)
{
var fileName = Path.GetFileName(this.filePath);
pdfViewerControl.Print(fileName);
} |
We were able to reproduce the issue, “Application crashes while unloading the PDFviewer control in PageByPage view mode” with the provided PDF document only in the product version v18.1.0.42. However, this issue is resolved in our latest version of SfPdfviewer control with product version 18.1.0.56. Kindly update the SfPdfviewer control to the mentioned version to resolve the issue.
Regarding the issue, “Stamp Annotation is not preserved properly while printing PDF document in PagebyPage View mode”, we do have the support to print the PDF pages in our control. Kindly use the below API to resolve the issue, instead of using the custom Renderer to print pages.
|
It tried to use this API, howewer the application is crashing.
Step to reproduce the issue:
I shared two documents.
Open the document 1, press print button -> when the previewer is open leave the pdf viewer and go back to the "HomePage".
Then Open the document 2, press print button -> application is crashing: "Object reference not set to an instance of an object." |
we were able to reproduce the issue, “System.Null reference exception while using SfPdfViewer.Print(string filename)” in Android platform. Currently, we are validating the issue and we will update the further details on June 17th, 2020.
|
|
Moreover, I realized that the stamp annotation is not preserved when saving the pdf document. For example, if I use an image with transparent background as stamp annotation, the stamp background remain transparent until I try to save or print the document, at this time the background will be set to white.
I shared a sample showing that the stamp annotation is not preserved when trying to print the document, in this case. |
we were able to reproduce the issue, “Transparency is not preserved while saving the stamp annotation” in Android platform. Currently, we are validating the issue and we will update the further details on June 17th, 2020.
|