ArcFM Desktop Developer Guide
GetBitmapStrip(String,Size,Point) Method


Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

The name of the bitmap image strip.
The size of an individual image in the strip.
The pixel location of the transparent color.
Retrieves a bitmap image strip containing images of the specified size from an assembly's resources section.
Syntax
'Declaration
 
Public Overloads Function GetBitmapStrip( _
   ByVal imageListName As String, _
   ByVal imageSize As Size, _
   ByVal transparentPixel As Point _
) As ImageList
'Usage
 
Dim instance As ResourceData
Dim imageListName As String
Dim imageSize As Size
Dim transparentPixel As Point
Dim value As ImageList
 
value = instance.GetBitmapStrip(imageListName, imageSize, transparentPixel)
public ImageList GetBitmapStrip( 
   string imageListName,
   Size imageSize,
   Point transparentPixel
)

Parameters

imageListName
The name of the bitmap image strip.
imageSize
The size of an individual image in the strip.
transparentPixel
The pixel location of the transparent color.

Return Value

The desired image list.
Remarks
This method provides a general utility function to retrieve a Bitmap strip stored as an embedded resource in an assembly. The first parameter specifies the name of the resource. The second parameter specifies the size of each bitmap. The third parameter specifies the location of the pixel that contains the color to become the transparent color. The full name for the resource is {resourceBaseName}.{resource name}.bmp where {resourceBaseName} is the parameter to the constructor for this class.
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