共用方式為


StandardPrintTaskOptions.ColorMode 屬性

定義

取得列印工作的色彩模式選項標準名稱。

public:
 static property Platform::String ^ ColorMode { Platform::String ^ get(); };
static winrt::hstring ColorMode();
public static string ColorMode { get; }
var string = StandardPrintTaskOptions.colorMode;
Public Shared ReadOnly Property ColorMode As String

屬性值

String

Platform::String

winrt::hstring

列印工作的色彩模式選項標準名稱。

備註

使用此屬性可取得標準名稱,以從 PrintTaskOptions.DisplayedOptions 清單新增或移除色彩模式選項,以指出色彩模式選項是否出現在預覽列印 UI 中。 如需詳細資訊,請參閱 自訂預覽列印 UI。 此屬性僅適用于支援色彩模式功能的印表機。

適用於

另請參閱