Can't find text

Hi,

I've two questions with PDF library:

I can't find a determinate text with € character. I attach an example

the second question is, how can I initializate a form text when the pdf is open?

I need set the actual date in this form input


Thanks

Attachment: SyncfusionPDF_431e9751.zip

7 Replies

DM Dhivyabharathi Mohan Syncfusion Team February 8, 2021 11:42 AM UTC

Hi Manolo, 
 
Query 
Details 
 can't find a determinate text with € character. I attach an example  
We were able to reproduce the reported issue. We will analyze further and provide details on February 10, 2021.  
the second question is, how can I initialize a form text when the pdf is open? 
 
I need to set the actual date in this form input 
 
Can you please let us know, Whether you need to load the date in the input form-field on initial viewing of the PDF document by using our EJ2 PDF Viewer control or you need to set the date for the specific field programmatically(code-behind) using our PDF.Base library? 
 
Kindly provide more details about your requirement, It will be helpful for us to investigate further and provide details 
 
Regards, 
Dhivya. 



MC Manolo Capdevila February 8, 2021 03:55 PM UTC

Hi,

In second question, I need set the date when de PDF is open.

It does not matter with which application it is opened

Thanks


DM Dhivyabharathi Mohan Syncfusion Team February 10, 2021 05:07 PM UTC

Hi Monola, 
 
Query 
Details 
I can't find a determinate text with € character 
We confirmed that the reported issue is a defect and the fix will be included in March 3rd 2021. 
 
You can track the status using below feedback link, 
 
 
 
In second question, I need set the date when de PDF is open. 
 
It does not matter with which application it is opened 
 
 
We can able to set the date and time (as string) to the textbox field in PDF document programmatically using the below code,   
  
//Load PDF document  
PdfLoadedDocument loadedDocument = newPdfLoadedDocument("../../Data/FormFill.pdf");  
  
// Load an existing form  
PdfLoadedForm loadedForm = loadedDocument.Form;  
  
//Get textbox field   
PdfLoadedTextBoxField textBoxField = loadedForm.Fields[0] as PdfLoadedTextBoxField;  
  
//Set value as current date and time  
textBoxField.Text = DateTime.Now.ToString();  
  
 
Kindly let us know if you have any concerns about this 
 
Regards, 
Dhivya. 



MC Manolo Capdevila February 11, 2021 05:13 PM UTC

Hi,

First query, ok

In second quey, I need set the date when the pdf is open with any program (pdf reader, google reader...), so if I open the pdf today, this date must be 11-02-2021, but if I open the pdf tomorrow, this date must be 12-02-2021

Thanks


DM Dhivyabharathi Mohan Syncfusion Team February 13, 2021 04:46 AM UTC

Hi Monola, 
 
Query 
Details 
In second query, I need set the date when the pdf is open with any program (pdf reader, google reader...), so if I open the pdf today, this date must be 11-02-2021, but if I open the pdf tomorrow, this date must be 12-02-2021 
As we mentioned in our previous update, we can change the TextBox field value programmatically. Based on your requirement we can’t change it while opening it into the PDF Reader or Google Reader. Since this TextBox value is stored in the PDF Document. So we can’t change it while opening into the other PDF Viewer. 
 
 
Regards, 
Dhivya. 



MC Manolo Capdevila February 14, 2021 03:48 PM UTC

Hi,

And how can I set this  date in label, form, input... when the pdf is open?

I know that with adobe reader I can set a javascript code for do this action

Thanks


DR Desika Rajendran Syncfusion Team February 15, 2021 11:20 AM UTC

Hi Monola,  
 
We have shared the sample for updating the current date in the form field on document load. Kindly refer the below sample and revert us if you have still any doubts regarding this. 
 
Sample link:  
 
https://www.syncfusion.com/downloads/support/directtrac/general/ze/Core_Sample-1061112222 
 
Regards, 
Desika  


Loader.
Up arrow icon