PageOutputColor.PageOutputColorOption

Inheritance: java.lang.Object, com.aspose.xps.metadata.PrintTicketElement, com.aspose.xps.metadata.CompositePrintTicketElement, com.aspose.xps.metadata.Option

All Implemented Interfaces: com.aspose.xps.metadata.PageOutputColor.IPageOutputColorItem

public static final class PageOutputColor.PageOutputColorOption extends Option implements PageOutputColor.IPageOutputColorItem

Describes the PageOutputColor feature options.

Constructors

ConstructorDescription
PageOutputColorOption(String optionName, PageOutputColor.IPageOutputColorOptionItem[] items)Creates a new instance.
PageOutputColorOption(PageOutputColor.PageOutputColorOption option)Clones this option instance.

Fields

FieldDescription
ColorSpecifies the output should be in color.
GrayscaleSpecifies the output should be in grayscale.
MonochromeSpecifies the output should be in monochrome (Black).

Methods

MethodDescription
add(IOptionItem[] items)Adds a list of items to the end of this option’s item list.
add(PageOutputColor.IPageOutputColorOptionItem[] items)Adds an array of IPageOutputColorOptionItem instances to the option.
clone()Clones this option instance.
equals(Object arg0)
getClass()
getName()Gets the element name.
hashCode()
notify()
notifyAll()
setDeviceBitsPerPixel(int deviceBitsPerPixel)Sets a DeviceBitsPerPixel scored property value.
setDriverBitsPerPixel(int driverBitsPerPixel)Sets a DriverBitsPerPixel scored property value.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

PageOutputColorOption(String optionName, PageOutputColor.IPageOutputColorOptionItem[] items)

public PageOutputColorOption(String optionName, PageOutputColor.IPageOutputColorOptionItem[] items)

Creates a new instance.

Parameters:

ParameterTypeDescription
optionNamejava.lang.StringAn options name.
itemsIPageOutputColorOptionItem[]An arbitrary array of IPageOutputColorOptionItem instances.

PageOutputColorOption(PageOutputColor.PageOutputColorOption option)

public PageOutputColorOption(PageOutputColor.PageOutputColorOption option)

Clones this option instance.

Parameters:

ParameterTypeDescription
optionPageOutputColorOptionAn instance to clone.

Color

public static PageOutputColor.PageOutputColorOption Color

Specifies the output should be in color.

Grayscale

public static PageOutputColor.PageOutputColorOption Grayscale

Specifies the output should be in grayscale.

Monochrome

public static PageOutputColor.PageOutputColorOption Monochrome

Specifies the output should be in monochrome (Black).

add(IOptionItem[] items)

public void add(IOptionItem[] items)

Adds a list of items to the end of this option’s item list. Each one must be a ScoredProperty or a Property instance.

Parameters:

ParameterTypeDescription
itemsIOptionItem[]List of items to add.

add(PageOutputColor.IPageOutputColorOptionItem[] items)

public PageOutputColor.PageOutputColorOption add(PageOutputColor.IPageOutputColorOptionItem[] items)

Adds an array of IPageOutputColorOptionItem instances to the option.

Parameters:

ParameterTypeDescription
itemsIPageOutputColorOptionItem[]An arbitrary array of IPageOutputColorOptionItem instances.

Returns: PageOutputColorOption - This options instance.

clone()

public PageOutputColor.PageOutputColorOption clone()

Clones this option instance. The shortcut to the cloneing constructor.

Returns: PageOutputColorOption - The clone of this option instance.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getName()

public String getName()

Gets the element name.

Returns: java.lang.String

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setDeviceBitsPerPixel(int deviceBitsPerPixel)

public PageOutputColor.PageOutputColorOption setDeviceBitsPerPixel(int deviceBitsPerPixel)

Sets a DeviceBitsPerPixel scored property value.

Parameters:

ParameterTypeDescription
deviceBitsPerPixelintA DeviceBitsPerPixel scored property value.
Returns:
PageOutputColorOption - This option instance.

setDriverBitsPerPixel(int driverBitsPerPixel)

public PageOutputColor.PageOutputColorOption setDriverBitsPerPixel(int driverBitsPerPixel)

Sets a DriverBitsPerPixel scored property value.

Parameters:

ParameterTypeDescription
driverBitsPerPixelintA DriverBitsPerPixel scored property value.

Returns: PageOutputColorOption - This option instance.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int