PDF4Java Reference Documentation
com.o2sol.pdf4java.forms Package / PDFField Class / setName Method
The name of the field.
Collapse All Expand All
In This Topic

setName Method
In This Topic
Sets the field name.
Syntax

    public void setName(
       java.lang.String value
    )

#### Parameters

value
  The name of the field.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | Thrown when the name is not valid (null, empty, unsupported characters).

See Also

#### Reference

PDFField Class
PDFField Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.