PDF4Java Reference Documentation
com.o2sol.pdf4java.forms Package / PDFTextBoxField Class / setScrollable Method
If false, the field shall not scroll (horizontally for single-line fields, vertically for multiple-line fields) to accommodate more text than fits within its annotation rectangle. Once the field is full, no further text shall be accepted for interactive form filling; for non-interactive form filling, the filler should take care not to add more character than will visibly fit in the defined area.
Collapse All Expand All
In This Topic

setScrollable Method
In This Topic
Sets a value indicating whether the field text supports scrolling.
Syntax

    public void setScrollable(
       boolean value
    )

#### Parameters

value
  If false, the field shall not scroll (horizontally for single-line fields, vertically for multiple-line fields) to accommodate more text than fits within its annotation rectangle. Once the field is full, no further text shall be accepted for interactive form filling; for non-interactive form filling, the filler should take care not to add more character than will visibly fit in the defined area.

See Also

#### Reference

PDFTextBoxField Class
PDFTextBoxField Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.