com.aspose.xps.metadata

Class Feature

    • Constructor Detail

      • Feature

        public Feature(String name,
                       Option option,
                       Property... properties)

        Creates common print ticket feature instance.

        Parameters:
        name - Feature name.
        option - Mandatory Option object.
        properties - Arbitrary array Property objects to insert before option.
      • Feature

        public Feature(String name,
                       Feature feature,
                       Property... properties)

        Creates common print ticket feature instance.

        Parameters:
        name - Feature name.
        feature - Mandatory Feature object.
        properties - Arbitrary array Property objects to insert before feature.
    • Method Detail

      • add

        public void add(IFeatureItem... items)

        Adds list of items to the end of feature items list. Each one must be a Feature, Option or Property object.

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

        public String toString()

        Returns the string representation.

        Overrides:
        toString in class Object
        Returns:
        String representation.