CanvasBitmapGetPixelColors Method |
Returns an array of color data for the entire bitmap.
Namespace:
Microsoft.Graphics.Canvas
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax public Color[] GetPixelColors()
Return Value
Type:
ColorRemarks -
The Format
must be DirectXPixelFormat.B8G8R8A8UintNormalized.
-
The size of the returned array is SizeInPixels.Width * SizeInPixels.Height.
See Also