ArcFM Desktop Developer Guide
GetBitmap(String,Boolean) Method


Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

The name of the bitmap resource (without the .bmp suffix).
Defines whether the color of pixel 0,0 is to be used as the transparent color
Retrieves a bitmap stored in an assembly's resources section and defines if the color of pixel 0,0 is to be used as the transparent color.
Syntax
'Declaration
 
Public Overloads Function GetBitmap( _
   ByVal bitmapName As String, _
   ByVal useTopLeftPixel As Boolean _
) As Bitmap
'Usage
 
Dim instance As ResourceData
Dim bitmapName As String
Dim useTopLeftPixel As Boolean
Dim value As Bitmap
 
value = instance.GetBitmap(bitmapName, useTopLeftPixel)
public Bitmap GetBitmap( 
   string bitmapName,
   bool useTopLeftPixel
)

Parameters

bitmapName
The name of the bitmap resource (without the .bmp suffix).
useTopLeftPixel
Defines whether the color of pixel 0,0 is to be used as the transparent color

Return Value

The desired bitmap.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

ResourceData Class
ResourceData Members
Overload List

 

 


Send Comment