Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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

public static PixelFormat Indexed1 { get; }
<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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

ADD
Show:
© 2015 Microsoft