Export (0) Print
Expand All

PixelFormats.Indexed1 Property

Gets the pixel format specifying a paletted bitmap with 2 colors.

Namespace:  System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

'Declaration
Public Shared ReadOnly Property Indexed1 As PixelFormat
<object property="Indexed1"/>

Property Value

Type: System.Windows.Media.PixelFormat
The pixel format which specifying a paletted bitmap with 2 colors.

Paletted images use a color table which determines the color usage for the image. Each pixel in the image is mapped to a particular color in the table, or palette. Each color in the palette is identified by its index number, or value, which corresponds to its position in the table. The Indexed1 pixel format has 2 colors available in the table.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft