Hi,
We got a problem with PDF files preview in Outlook.
PDF files with form fields were generated via Syncfusion version 15.43 and appear to be BLANK (custom input not displaying) (Adobe reader is previewer)
However, the same files open nice in Adobe Reader directly.
Please let us know what can we do to fix it?
best regards,
alex
Hi Alex,
As you can see from this article, Outlook doesn't have a built-in PDF previewer and if you want to open PDF files, you may need Adobe Reader and then open the PDF file in preview mode. So, In preview mode, we can’t able to edit the form fields. It’s not an issue, it’s the behavior.
Refer to the following article for more details about outlook PdfViewer, https://answers.microsoft.com/en-us/outlook_com/forum/all/when-i-open-pdf-files-in-outlook-they-open-into/cf8cd53c-2365-488e-b078-8eba87607ff1
Please let us know if you have any concerns about this.
Regards,
Surya V
Hi Surya,
thanks for your reply.
Our problem is that we do not see values in the inputs for PDFs files generate via syncfusion in the Outlook previewer.
1) No, we don't want to edit PDFs from the outlook, but only view inputs values that were added to the PDF using
syncfusion
2) Already have Adobe Reader installed as a previewer for Outlook.
Please check that image
Hi Alex,
Thanks for the details. We recommend you disable the PdfForm set appearance to overcome the reported issue. Because, After filling the form fields in the PDF document, it may appear empty due to the absence of the appearance dictionary. By setting false to the SetDefaultAppearance() method in PdfForm class, you can create the appearance dictionary. By this, the text will be visible in all PDF Viewers.
Kindly refer the following code snippet to overcome the reported issue,
|
//Load the PDF document PdfLoadedDocument loadedDocument = new PdfLoadedDocument(fileName);
//Get the loaded form PdfLoadedForm loadedForm = loadedDocument.Form;
//Set the default appearance loadedForm.SetDefaultAppearance(false);
//Get the loaded form field PdfLoadedTextBoxField loadedTextBoxField = loadedForm.Fields[0] as PdfLoadedTextBoxField;
loadedTextBoxField.Text = "Text";
//Save the document loadedDocument.Save("Form.pdf"); //Close the document loadedDocument.Close(true); |
Refer to the below links to get more details on this,
Regards,
Surya V