PdfAcroFormValueFormat Class
Allows you to specify format for form field values.
Namespace: DevExpress.Pdf
Assembly: DevExpress.Pdf.v24.2.Core.dll
NuGet Package: DevExpress.Pdf.Core
#Declaration
#Remarks
You can specify value format for the following form fields:
- PdfAcroFormTextBoxField, PdfGraphicsAcroFormTextBoxField;
- PdfAcroFormComboBoxField, PdfGraphicsAcroFormComboBoxField.
Use the ValueFormat
property to access the PdfAcroFormValueFormat object.
You can specify the date and time, numeric, percentage, and special value format. Use the following properties to specify the JavaScript code used to specify the value format:
- PdfAcroFormValueFormat.FormatScript;
- PdfAcroFormValueFormat.KeystrokeScript;
- PdfAcroFormValueFormat.CalculateScript;
- PdfAcroFormValueFormat.ValidateScript.
Note
Scripts are in effect for PDF viewers that support Java