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.
- type
Type: Microsoft.SPOT. . :: . .Bitmap. . :: . .BitmapImageType
The bitmap type 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.