com.aspose.xps.metadata

Class Option

    • Constructor Detail

      • Option

        public Option(String name,
                      IOptionItem... properties)

        Creates common print ticket feature instance.

        Parameters:
        name - Arbitrary option name.
        properties - Array of IOptionItem objects. Each one must be a ScoredProperty or Property object.
      • Option

        public Option(IOptionItem... properties)

        Creates common print ticket feature instance.

        Parameters:
        properties - Array of IOptionItem objects. Each one must be a ScoredProperty or Property object.
    • Method Detail

      • add

        public void add(IOptionItem... properties)

        Adds list of properties to the end of option properties list. Each one must be a ScoredProperty or Property object.

        Parameters:
        properties - List of properties to add.
      • toString

        public String toString()

        Returns the string representation.

        String representation.
        Overrides:
        toString in class Object