NetXP 3.0 Reference

Resources.LoadBitmap Method (Type, String, Point)

Loads a bitmap from the specified assembly and bitmap file name, setting transparency.

[Visual Basic]
Overloads Public Shared Function LoadBitmap( _
   ByVal assemblyType As Type, _
   ByVal imageName As String, _
   ByVal transparentPixel As Point _
) As Bitmap
[C#]
public static Bitmap LoadBitmap(
   Type assemblyType,
   string imageName,
   Point transparentPixel
);

Parameters

assemblyType
The assembly.
imageName
The file name.
transparentPixel
The pixel location at which the transparent color is found.

Return Value

The bitmap.

See Also

Resources Class | NETXP.Library Namespace | Resources.LoadBitmap Overload List