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 オプション。