.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

PdfAcroFormValueFormat Members

Allows you to specify format for form field values.

Constructors

Name Description
PdfAcroFormValueFormat() Initializes a new instance of the PdfAcroFormValueFormat class.

Properties

Name Description
CalculateScript Gets or sets the JavaScript to be performed when the field’s value is changed. This action may check the new value for validity.
FormatScript Gets or sets the JavaScript to be performed before the field is formatted. This action may modify the field’s value before formatting.
KeystrokeScript Gets or sets the JavaScript to be performed when the user modifies a character in a. This action may check the added text for validity and reject or modify it.
ValidateScript Gets os sets the JavaScript to be performed to recalculate the value of this field when that of another field changes.

Methods

Name Description
CreateDateTimeFormat(String) static Create a date and time format for a form field value.
CreateNumberFormat(Int32, PdfAcroFormNumberSeparatorStyle) static Creates a number format for a form field value.
CreateNumberFormat(Int32, PdfAcroFormNumberSeparatorStyle, String, PdfAcroFormCurrencyStyle, PdfAcroFormNegativeNumberStyle) static Creates a number format for a form field value.
CreatePercentFormat(Int32, PdfAcroFormNumberSeparatorStyle) static Creates a percent format for a form field value.
CreateSpecialFormat(PdfAcroFormSpecialFormatType) static Creates a special format for the form field values.
CreateSpecialFormat(String) static Creates a special format for the form field values.
CreateTimeFormat(String) static Creates a time format for a form field value.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also