Share via


Bitmap Constructor (Byte[], Bitmap.BitmapImageType)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the Bitmap class with the specified image data and type.

Namespace:  Microsoft.SPOT
Assembly:  Microsoft.SPOT.Graphics (in Microsoft.SPOT.Graphics.dll)

Syntax

'Declaration
Public Sub New ( _
    imageData As Byte(), _
    type As Bitmap.BitmapImageType _
)
public Bitmap(
    byte[] imageData,
    Bitmap.BitmapImageType type
)
public:
Bitmap(
    array<unsigned char>^ imageData, 
    Bitmap::BitmapImageType type
)
new : 
        imageData:byte[] * 
        type:Bitmap.BitmapImageType -> Bitmap
public function Bitmap(
    imageData : byte[], 
    type : Bitmap..::..BitmapImageType
)

Parameters

  • imageData
    Type: array<System. . :: . .Byte> [] () [] []
    An array of pixel data for the specified image.

Remarks

The .NET Micro Framework provides the Microsoft.SPOT.Bitmap class for lower-level access, such as animation. For displaying static bitmaps and hyperlinked bitmaps, use the Image control.

.NET Framework Security

See Also

Reference

Bitmap Class

Bitmap Overload

Microsoft.SPOT Namespace