Class PageOutputColor.PageOutputColorOption
Navne til: Aspose.Page.XPS.XpsMetadata Sammensætning: Aspose.Page.dll (25.4.0)
Beskriver Aspose.Page.XPS.XpsMetadata.PageOutputColor funktioner muligheder.
public sealed class PageOutputColor.PageOutputColorOption : Option, PageOutputColor.IPageOutputColorItem, IFeatureItem, IPrintTicketElementChild
Inheritance
object ← PrintTicketElement ← CompositePrintTicketElement ← Option ← PageOutputColor.PageOutputColorOption
Implements
PageOutputColor.IPageOutputColorItem , IFeatureItem , IPrintTicketElementChild
De arvede medlemmer
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, paramer IPageOutputColorOptionItem[])
Det skaber en ny instans.
public PageOutputColorOption(string optionName, params PageOutputColor.IPageOutputColorOptionItem[] items)
Parameters
optionName
string
Et alternativ navn.
items
PageOutputColor
.
IPageOutputColorOptionItem
[]
En vilkårlig række af Aspose.Page.XPS.XpsMetadata.PageOutputColor.IPageOutputColorOptionItem instanser.
Methods
Add(Parameter IPageOutputColorOptionItem[])
Tilføj en række Aspose.Page.XPS.XpsMetadata.PageOutputColor.IPageOutputColorOptionItem instanser til optionen.
public PageOutputColor.PageOutputColorOption Add(params PageOutputColor.IPageOutputColorOptionItem[] items)
Parameters
items
PageOutputColor
.
IPageOutputColorOptionItem
[]
En vilkårlig række af Aspose.Page.XPS.XpsMetadata.PageOutputColor.IPageOutputColorOptionItem instanser.
Returns
PageOutputColor . PageOutputColorOption
Dette alternativ er tilfældet.
Color(Det er int)
Bestemmelsen af produktionen skal være i farve.
public static PageOutputColor.PageOutputColorOption Color(int deviceBitsPerPixel, int driverBitsPerPixel)
Parameters
deviceBitsPerPixel
int
A DeviceBitsPerPixel Gør ejendomsværdider angiver antallet af bits pr. pixel af farvede data understøttet af printeren.
driverBitsPerPixel
int
A DriverBitsPerPixel Gør ejendomsværdider angiver antallet af bits pr. pixel, som kernen driver skal bruge til sin bitmap rendering buffer.
Returns
PageOutputColor . PageOutputColorOption
The PageOutputColor af mulighederne.
Grayscale(Det er int)
Eksempelvis skal produktionen være i grayscale.
public static PageOutputColor.PageOutputColorOption Grayscale(int deviceBitsPerPixel, int driverBitsPerPixel)
Parameters
deviceBitsPerPixel
int
A DeviceBitsPerPixel Gør ejendomsværdider angiver antallet af bits pr. pixel af farvede data understøttet af printeren.
driverBitsPerPixel
int
A DriverBitsPerPixel Gør ejendomsværdider angiver antallet af bits pr. pixel, som kernen driver skal bruge til sin bitmap rendering buffer.
Returns
PageOutputColor . PageOutputColorOption
The PageOutputColor af mulighederne.
Monochrome(Det er int)
Det skal være i monochrome (svart).
public static PageOutputColor.PageOutputColorOption Monochrome(int deviceBitsPerPixel, int driverBitsPerPixel)
Parameters
deviceBitsPerPixel
int
A DeviceBitsPerPixel Gør ejendomsværdider angiver antallet af bits pr. pixel af farvede data understøttet af printeren.
driverBitsPerPixel
int
A DriverBitsPerPixel Gør ejendomsværdider angiver antallet af bits pr. pixel, som kernen driver skal bruge til sin bitmap rendering buffer.
Returns
PageOutputColor . PageOutputColorOption
The PageOutputColor af mulighederne.