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
Constructor | Description |
---|---|
PageOutputColorOption(String optionName, PageOutputColor.IPageOutputColorOptionItem[] items) | Creates a new instance. |
Methods
Method | Description |
---|---|
Color(int deviceBitsPerPixel, int driverBitsPerPixel) | Specifies the output should be in color. |
Grayscale(int deviceBitsPerPixel, int driverBitsPerPixel) | Specifies the output should be in grayscale. |
Monochrome(int deviceBitsPerPixel, int driverBitsPerPixel) | Specifies the output should be in monochrome (Black). |
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. |
equals(Object arg0) | |
getClass() | |
getName() | Gets the element name. |
hashCode() | |
notify() | |
notifyAll() | |
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:
Parameter | Type | Description |
---|---|---|
optionName | java.lang.String | An options name. |
items | IPageOutputColorOptionItem[] | An arbitrary array of IPageOutputColorOptionItem instances. |
Color(int deviceBitsPerPixel, int driverBitsPerPixel)
public static final PageOutputColor.PageOutputColorOption Color(int deviceBitsPerPixel, int driverBitsPerPixel)
Specifies the output should be in color.
Parameters:
Parameter | Type | Description |
---|---|---|
deviceBitsPerPixel | int | A DeviceBitsPerPixel scored property value that indicates the number of bits per pixel of color data supported by the printer. |
driverBitsPerPixel | int | A DriverBitsPerPixel scored property value that indicates the number of bits per pixel that the core driver should use for its bitmap rendering buffer. |
Returns: PageOutputColorOption - The PageOutputColor options.
Grayscale(int deviceBitsPerPixel, int driverBitsPerPixel)
public static final PageOutputColor.PageOutputColorOption Grayscale(int deviceBitsPerPixel, int driverBitsPerPixel)
Specifies the output should be in grayscale.
Parameters:
Parameter | Type | Description |
---|---|---|
deviceBitsPerPixel | int | A DeviceBitsPerPixel scored property value that indicates the number of bits per pixel of color data supported by the printer. |
driverBitsPerPixel | int | A DriverBitsPerPixel scored property value that indicates the number of bits per pixel that the core driver should use for its bitmap rendering buffer. |
Returns: PageOutputColorOption - The PageOutputColor options.
Monochrome(int deviceBitsPerPixel, int driverBitsPerPixel)
public static final PageOutputColor.PageOutputColorOption Monochrome(int deviceBitsPerPixel, int driverBitsPerPixel)
Specifies the output should be in monochrome (Black).
Parameters:
Parameter | Type | Description |
---|---|---|
deviceBitsPerPixel | int | A DeviceBitsPerPixel scored property value that indicates the number of bits per pixel of color data supported by the printer. |
driverBitsPerPixel | int | A DriverBitsPerPixel scored property value that indicates the number of bits per pixel that the core driver should use for its bitmap rendering buffer. |
Returns: PageOutputColorOption - The PageOutputColor options.
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:
Parameter | Type | Description |
---|---|---|
items | IOptionItem[] | 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:
Parameter | Type | Description |
---|---|---|
items | IPageOutputColorOptionItem[] | An arbitrary array of IPageOutputColorOptionItem instances. |
Returns: PageOutputColorOption - This options instance.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.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()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |