Optionaloptions: {Optional ReadonlycontainerOptionalformProtectedmodifiedOptionalparentOptionalpostOptional tokens to prepend or append during serialization
OptionalpreOptional tokens to prepend or append during serialization
Gets the default value
Sets the default value
Gets the field type
Gets field flags (bitwise combination of field attributes)
Sets field flags
Sets the font using a PdfFont object. Pass null to clear the font.
Checks if the field is multiline (for text fields)
Sets the field as multiline (for text fields)
Gets the field name
Sets the field name
The type of this PDF object
Checks if the field is a password field (for text fields)
Sets the field as a password field (for text fields)
Checks if the field is read-only
Sets the field as read-only or editable
Checks if the field is required
Sets the field as required or optional
Creates a deep clone of the object
Returns an iterator for the dictionary entries. Each entry is a tuple of [key string, value].
Compares this object to another for equality based on their token representations
Optionalother: PdfObjectIndicates whether the object has been modified. Override this method if the modified state is determined differently
Sets the modified state of the object. Override this method if the modified state is determined differently
Converts the object to a ByteArray, optionally padding to a specified length
OptionalpadTo: numberProtectedtokenizeTokenizes the object into an array of PdfTokens
Converts the object to a string representation
Converts the object to an array of PdfTokens, including any pre or post tokens
Indicates whether the object has been modified. By default, assume it has been modified because it's a new object