Get the "unloaed" version of Pdf fields

Is there a way to get the "unloaded" version of a loaded field? For example, I have a PdfLoadedListBoxField and would like to allow the user to edit it's properties. In this case the Foreground text color.

That information doesn't appear to be available in the PdfLoadedListBoxField but it is available in the PdfListBoxField.

How can this be done?

5 Replies

KC Karthikeyan Chandrasekar Syncfusion Team September 25, 2018 12:34 PM UTC

Hi Dave, 
On analysis we could see the ForeColor and BackColor is not accessible in PdfLoadedFormFields and we considered this as the usability feature. Can you please share us the list of properties which you are need to expose in the PdfLoadedFormFields, It will be helpful for us to validate and proceed further in this. 

Regards, 
Karthikeyan 
 



DS David Schrier September 27, 2018 01:20 PM UTC

In the PdfLoadedListBoxField as well as the PdfLoadedComboBox field, there is no way to change the ForeColor or BackColor. I could delete the PdfLoadedListBoxField and replace it with a new PdfListBoxField and save/open the document but there isn't even a way to know what the current ForeColor/BackColor is.

There is no way to change the PdfCheckBoxStyle on the PdfLoadedCheckBoxField. It's only available through the Style attribute of the PdfCheckFieldBase class.

There does not appear to be any way to change the rotation of any of the fields. There is a RotationAngle in the GraphicsProperties of all of the fields but the method GetGraphicsProperties is protected.


DB Dilli Babu Nandha Gopal Syncfusion Team October 1, 2018 03:49 PM UTC

Hi David,  
  
Thank you for your update. Please find the response below.  
  
In the PdfLoadedListBoxField as well as the PdfLoadedComboBox field, there is no way to change the ForeColor or BackColor. I could delete the PdfLoadedListBoxField and replace it with a new PdfListBoxField and save/open the document but there isn't even a way to know what the current ForeColor/BackColor is.  
  
There is no way to change the PdfCheckBoxStyle on the PdfLoadedCheckBoxField. It's only available through the Style attribute of the PdfCheckFieldBase class.  
  
We have considered as the usability feature for exposing ForeColor and BackColor properties in PdfLoadedFormFields. The feature implementation will be included in our upcoming service pack 2018 Volume 3 SP1 release which is estimated to be available by last week of October, 2018. 
There does not appear to be any way to change the rotation of any of the fields. There is a RotationAngle in the GraphicsProperties of all of the fields but the method GetGraphicsProperties is protected.  
We have logged the feature request for providing support for rotating form field.   
At present we do not have immediate plan to implement this feature and this feature will be available on any of our upcoming release.  
We will let you know once the feature has been implemented  
  
  
Regards,  
Dilli babu. 



DS David Schrier October 1, 2018 04:02 PM UTC

That is good news.

Do you know if the PdfLoadedCheckBoxField PdfCheckBoxStyle will be addressed as well?



KC Karthikeyan Chandrasekar Syncfusion Team October 3, 2018 09:35 AM UTC

Hi David, 
Yes, we will address CheckBox field also. 

Regards, 
Karthikeyan 


Loader.
Up arrow icon