Class PageOutputColor.PageOutputColorOption
İsim alanı : Aspose.Page.XPS.XpsMetadata Toplama: Aspose.Page.dll (25.4.0)
Aspose.Page.XPS.XpsMetadata.PageOutputColor özellikleri seçeneklerini tanımlar.
public sealed class PageOutputColor.PageOutputColorOption : Option, PageOutputColor.IPageOutputColorItem, IFeatureItem, IPrintTicketElementChild
Inheritance
object ← PrintTicketElement ← CompositePrintTicketElement ← Option ← PageOutputColor.PageOutputColorOption
Implements
PageOutputColor.IPageOutputColorItem , IFeatureItem , IPrintTicketElementChild
mirasçı üyeleri
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(Çerçeve, Paramlar IPageOutputColorOptionItem[])
Yeni bir örnek oluşturur.
public PageOutputColorOption(string optionName, params PageOutputColor.IPageOutputColorOptionItem[] items)
Parameters
optionName
string
Bir seçenek adı.
items
PageOutputColor
.
IPageOutputColorOptionItem
[…]
Aspose.Page.XPS.XpsMetadata.PageOutputColor.IPageOutputColorOptionItem örneklerinin bir aralığıdır.
Methods
Add(Paramlar IPageOutputColorOptionItem[])
Aspose.Page.XPS.XpsMetadata.PageOutputColor.IPageOutputColorOptionItem örneğini seçeneğe ekleyin.
public PageOutputColor.PageOutputColorOption Add(params PageOutputColor.IPageOutputColorOptionItem[] items)
Parameters
items
PageOutputColor
.
IPageOutputColorOptionItem
[…]
Aspose.Page.XPS.XpsMetadata.PageOutputColor.IPageOutputColorOptionItem örneklerinin bir aralığıdır.
Returns
PageOutputColor . PageOutputColorOption
Bu seçenekler örnektir.
Color(int , int , int)
Çıkışın renkli olması gerektiğini belirtir.
public static PageOutputColor.PageOutputColorOption Color(int deviceBitsPerPixel, int driverBitsPerPixel)
Parameters
deviceBitsPerPixel
int
A DeviceBitsPerPixel Mülkiyet DeğerlendirmesiYazıcı tarafından desteklenen renk verilerinin piksel başına bit sayısını gösterir.
driverBitsPerPixel
int
A DriverBitsPerPixel Mülkiyet Değerlendirmesibu, çekirdek sürücünün bitmap rendering buffer için kullanması gereken piksel başına bit sayısını gösterir.
Returns
PageOutputColor . PageOutputColorOption
The PageOutputColor seçenekleri .
Grayscale(int , int , int)
Sonuç olarak, üretimi grayscale olarak belirlemelidir.
public static PageOutputColor.PageOutputColorOption Grayscale(int deviceBitsPerPixel, int driverBitsPerPixel)
Parameters
deviceBitsPerPixel
int
A DeviceBitsPerPixel Mülkiyet DeğerlendirmesiYazıcı tarafından desteklenen renk verilerinin piksel başına bit sayısını gösterir.
driverBitsPerPixel
int
A DriverBitsPerPixel Mülkiyet Değerlendirmesibu, çekirdek sürücünün bitmap rendering buffer için kullanması gereken piksel başına bit sayısını gösterir.
Returns
PageOutputColor . PageOutputColorOption
The PageOutputColor seçenekleri .
Monochrome(int , int , int)
Üretimi monochrome (siyah) olarak belirlemelidir.
public static PageOutputColor.PageOutputColorOption Monochrome(int deviceBitsPerPixel, int driverBitsPerPixel)
Parameters
deviceBitsPerPixel
int
A DeviceBitsPerPixel Mülkiyet DeğerlendirmesiYazıcı tarafından desteklenen renk verilerinin piksel başına bit sayısını gösterir.
driverBitsPerPixel
int
A DriverBitsPerPixel Mülkiyet Değerlendirmesibu, çekirdek sürücünün bitmap rendering buffer için kullanması gereken piksel başına bit sayısını gösterir.
Returns
PageOutputColor . PageOutputColorOption
The PageOutputColor seçenekleri .