PixelFormats.Indexed1 屬性

定義

取得使用 2 個色彩指定調色盤點陣圖的像素格式。

public:
 static property System::Windows::Media::PixelFormat Indexed1 { System::Windows::Media::PixelFormat get(); };
public static System.Windows.Media.PixelFormat Indexed1 { get; }
member this.Indexed1 : System.Windows.Media.PixelFormat
Public Shared ReadOnly Property Indexed1 As PixelFormat

屬性值

PixelFormat

使用 2 個色彩指定調色盤點陣圖的像素格式。

備註

調色盤影像會使用色彩表格來決定影像的色彩使用量。 影像中的每個圖元都會對應至資料表或調色盤中的特定色彩。 調色盤中的每個色彩都會以其索引編號或值來識別,其對應于其在資料表中的位置。 Indexed1像素格式在表格中有 2 種可用色彩。

XAML Attribute Usage

<object property="Indexed1"/>  

適用於