com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class NumberField

    • Constructor Detail

      • NumberField

        public NumberField()

        Initializes a new instance of the NumberField class.

      • NumberField

        public NumberField(Page page,
                           Rectangle rect)

        Initializes a new instance of the NumberField class.

        Parameters:
        page - Page where text field is placed.
        rect - Rectangle where the field will be placed on the page.
      • NumberField

        public NumberField(Document doc,
                           Rectangle rect)

        Initializes a new instance of the NumberField class.

        Parameters:
        doc - Document where field will be created.
        rect - Rectangle of the field.
    • Method Detail

      • getAllowedChars

        public final String getAllowedChars()

        Gets or sets the allowed chars.

        Value: The allowed chars string. 0123456789 by default
        Returns:
        String value
      • setAllowedChars

        public final void setAllowedChars(String value)

        Gets or sets the allowed chars.

        Value: The allowed chars string. 0123456789 by default
        Parameters:
        value - String value