Class PDTextbox

  • All Implemented Interfaces:
    COSObjectable

    public class PDTextbox
    extends PDVariableText
    A class for handling the PDF field as a textbox.
    Author:
    sug
    • Method Detail

      • getMaxLen

        public int getMaxLen()
        Returns the maximum number of characters of the text field.
        Returns:
        the maximum number of characters, returns -1 if the value isn't present
      • setMaxLen

        public void setMaxLen​(int maxLen)
        Sets the maximum number of characters of the text field.
        Parameters:
        maxLen - the maximum number of characters