PDF4Java Reference Documentation
com.o2sol.pdf4java.forms Package / PDFTextBoxField Class / setPassword Method
True if the field is intended for entering a secure password that should not be echoed visibly to the screen. Characters typed from the keyboard shall instead be echoed in some unreadable form, such as asterisks or bullet characters.
Collapse All Expand All
In This Topic

setPassword Method
In This Topic
Sets a value indicating whether the field is intended for entering a secure password.
Syntax

    public void setPassword(
       boolean value
    )

#### Parameters

value
  True if the field is intended for entering a secure password that should not be echoed visibly to the screen. Characters typed from the keyboard shall instead be echoed in some unreadable form, such as asterisks or bullet characters.

See Also

#### Reference

PDFTextBoxField Class
PDFTextBoxField Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.