We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to access the Format options for PDFLoadedTextBoxField

In Adobe, you can edit a form field textbox, and go to the Format tab.  There you can select a format category, such as 'Date', then select form predetermined formats, such as mm/dd/yyyy.  I need to access this setting in my code, before setting the Text property of the field.

Something like:

PdfLoadedTextBoxField f = (PdfLoadedTextBoxField)form.Fields[FieldName];
if(f.Format.Category == "Date")
  //Format my value accordingly
  Value = ".....";
f.Text = Value;

1 Reply

KK Karthik Krishnaraj Syncfusion Team July 31, 2015 11:10 AM UTC

Hi Chris,
Thank you for using syncfusion products,
We have analyzed your requirement for “Need to access format options for PdfLoadedTextBoxField” Since this feature isn’t available in our product, we consider this to be a feature request. It will help us to implement the feature in line with your requirement, if you can confirm some specific details regarding the requirement.

If our definition of this feature is different from your requirement then share the specific details with us—so that we can work towards fulfilling your requirements.

Live Chat Icon For mobile
Up arrow icon