|
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.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
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