PixelFormats.Gray4 Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the Gray4 pixel format which displays a 4 bits-per-pixel grayscale channel, allowing 16 shades of gray.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public static PixelFormat Gray4 { get; }

Property Value

Type: System.Windows.Media.PixelFormat

The Gray4 pixel format.

<object property="Gray4"/>

.NET Framework
Available since 3.0
Return to top