ArcFM Engine Developer Guide
GetBitmapStrip(String,Size) Method


The name of the bitmap image strip.
The size of an individual image in the strip.
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 _
) As ImageList
'Usage
 
Dim instance As ResourceData
Dim imageListName As String
Dim imageSize As Size
Dim value As ImageList
 
value = instance.GetBitmapStrip(imageListName, imageSize)
public ImageList GetBitmapStrip( 
   string imageListName,
   Size imageSize
)

Parameters

imageListName
The name of the bitmap image strip.
imageSize
The size of an individual image in the strip.

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 bitmap is assumed to use the default transparent color (Teal). 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