|
BitmapExtensionsToPixelData Method
|
Converts from a bitmap image to an array of pixel data.
Namespace: GSF.DrawingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.260-beta+cb466f216da12fb731bf5493e0294c87f9de1794
Syntaxpublic static uint[] ToPixelData(
this Bitmap bitmap
)
<ExtensionAttribute>
Public Shared Function ToPixelData (
bitmap As Bitmap
) As UInteger()
public:
[ExtensionAttribute]
static array<unsigned int>^ ToPixelData(
Bitmap^ bitmap
)
[<ExtensionAttribute>]
static member ToPixelData :
bitmap : Bitmap -> uint32[] GSF.Drawing.BitmapExtensions.ToPixelData = function(bitmap);
View SourceParameters
- bitmap Bitmap
- The bitmap image to be converted.
Return Value
UInt32The pixel data contained in the image.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Bitmap. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also