Class PageOutputColor.PageOutputColorOption
Namespace: Aspose.Page.XPS.XpsMetadata
Assembly: Aspose.Page.dll (25.1.2)
Описує параметри функції Aspose.Page.XPS.XpsMetadata.PageOutputColor.
public sealed class PageOutputColor.PageOutputColorOption : Option, PageOutputColor.IPageOutputColorItem, IFeatureItem, IPrintTicketElementChild
Наследування
object ← PrintTicketElement ← CompositePrintTicketElement ← Option ← PageOutputColor.PageOutputColorOption
Реалізує
PageOutputColor.IPageOutputColorItem, IFeatureItem, IPrintTicketElementChild
Спадковані члени
Option.Add(params IOptionItem[]), PrintTicketElement.Name, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Конструктори
PageOutputColorOption(string, params IPageOutputColorOptionItem[])
Створює новий екземпляр.
public PageOutputColorOption(string optionName, params PageOutputColor.IPageOutputColorOptionItem[] items)
Параметри
optionName
string
Назва опції.
items
PageOutputColor.IPageOutputColorOptionItem[]
Довільний масив екземплярів Aspose.Page.XPS.XpsMetadata.PageOutputColor.IPageOutputColorOptionItem.
Методи
Add(params IPageOutputColorOptionItem[])
Додає масив екземплярів Aspose.Page.XPS.XpsMetadata.PageOutputColor.IPageOutputColorOptionItem до опції.
public PageOutputColor.PageOutputColorOption Add(params PageOutputColor.IPageOutputColorOptionItem[] items)
Параметри
items
PageOutputColor.IPageOutputColorOptionItem[]
Довільний масив екземплярів Aspose.Page.XPS.XpsMetadata.PageOutputColor.IPageOutputColorOptionItem.
Повертає
PageOutputColor.PageOutputColorOption
Цей екземпляр опції.
Color(int, int)
Вказує, що вихід має бути кольоровим.
public static PageOutputColor.PageOutputColorOption Color(int deviceBitsPerPixel, int driverBitsPerPixel)
Параметри
deviceBitsPerPixel
int
Значення властивості DeviceBitsPerPixel, яке вказує кількість біт на піксель кольорових даних, що підтримуються принтером.
driverBitsPerPixel
int
Значення властивості DriverBitsPerPixel, яке вказує кількість біт на піксель, які основний драйвер повинен використовувати для свого буфера рендерингу растрових зображень.
Повертає
PageOutputColor.PageOutputColorOption
Опції PageOutputColor.
Grayscale(int, int)
Вказує, що вихід має бути в градаціях сірого.
public static PageOutputColor.PageOutputColorOption Grayscale(int deviceBitsPerPixel, int driverBitsPerPixel)
Параметри
deviceBitsPerPixel
int
Значення властивості DeviceBitsPerPixel, яке вказує кількість біт на піксель кольорових даних, що підтримуються принтером.
driverBitsPerPixel
int
Значення властивості DriverBitsPerPixel, яке вказує кількість біт на піксель, які основний драйвер повинен використовувати для свого буфера рендерингу растрових зображень.
Повертає
PageOutputColor.PageOutputColorOption
Опції PageOutputColor.
Monochrome(int, int)
Вказує, що вихід має бути монохромним (чорним).
public static PageOutputColor.PageOutputColorOption Monochrome(int deviceBitsPerPixel, int driverBitsPerPixel)
Параметри
deviceBitsPerPixel
int
Значення властивості DeviceBitsPerPixel, яке вказує кількість біт на піксель кольорових даних, що підтримуються принтером.
driverBitsPerPixel
int
Значення властивості DriverBitsPerPixel, яке вказує кількість біт на піксель, які основний драйвер повинен використовувати для свого буфера рендерингу растрових зображень.
Повертає
PageOutputColor.PageOutputColorOption
Опції PageOutputColor.