|
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.255-beta+d64b121002b51165b41b0dbf6ccf4c8d3895faa3
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