|
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.275-beta+5a507085c1b79f1427cd1812b9c3c9c583c21079
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