Class PageOutputColor.PageOutputColorOption
Namespace: Aspose.Page.XPS.XpsMetadata
Assembly: Aspose.Page.dll (25.4.0)
Describes the Aspose.Page.XPS.XpsMetadata.PageOutputColor feature options.
public sealed class PageOutputColor.PageOutputColorOption : Option, PageOutputColor.IPageOutputColorItem, IFeatureItem, IPrintTicketElementChild
Inheritance
object ← PrintTicketElement ← CompositePrintTicketElement ← Option ← PageOutputColor.PageOutputColorOption
Implements
PageOutputColor.IPageOutputColorItem , IFeatureItem , IPrintTicketElementChild
Inherited Members
Option.Add(params IOptionItem[]) , PrintTicketElement.Name , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
PageOutputColorOption(string, params IPageOutputColorOptionItem[])
Creates a new instance.
public PageOutputColorOption(string optionName, params PageOutputColor.IPageOutputColorOptionItem[] items)
Parameters
optionName
string
An options name.
items
PageOutputColor
.
IPageOutputColorOptionItem
[]
An arbitrary array of Aspose.Page.XPS.XpsMetadata.PageOutputColor.IPageOutputColorOptionItem instances.
Methods
Add(params IPageOutputColorOptionItem[])
Adds an array of Aspose.Page.XPS.XpsMetadata.PageOutputColor.IPageOutputColorOptionItem instances to the option.
public PageOutputColor.PageOutputColorOption Add(params PageOutputColor.IPageOutputColorOptionItem[] items)
Parameters
items
PageOutputColor
.
IPageOutputColorOptionItem
[]
An arbitrary array of Aspose.Page.XPS.XpsMetadata.PageOutputColor.IPageOutputColorOptionItem instances.
Returns
PageOutputColor . PageOutputColorOption
This options instance.
Color(int, int)
Specifies the output should be in color.
public static PageOutputColor.PageOutputColorOption Color(int deviceBitsPerPixel, int driverBitsPerPixel)
Parameters
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
PageOutputColor . PageOutputColorOption
The PageOutputColor options.
Grayscale(int, int)
Specifies the output should be in grayscale.
public static PageOutputColor.PageOutputColorOption Grayscale(int deviceBitsPerPixel, int driverBitsPerPixel)
Parameters
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
PageOutputColor . PageOutputColorOption
The PageOutputColor options.
Monochrome(int, int)
Specifies the output should be in monochrome (Black).
public static PageOutputColor.PageOutputColorOption Monochrome(int deviceBitsPerPixel, int driverBitsPerPixel)
Parameters
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
PageOutputColor . PageOutputColorOption
The PageOutputColor options.