Click or drag to resize

IBitmapManager Interface

Represents the interface that provides functionalities to manage bitmap resources, whether as external references or embedded resources.

Namespace: RAYLASE.Marker.JobElement
Assembly: RAYLASE.Marker.JobElement (in RAYLASE.Marker.JobElement.dll) Version: 2.19.0
Syntax
C#
public interface IBitmapManager

The IBitmapManager type exposes the following members.

Properties
 NameDescription
Public propertyBitmapMap The read-only map of available bitmaps.
Key is the resource ID.
Value is a holder containing the bitmap, its file path, and its embedded status.
Top
Methods
 NameDescription
Public methodCopyToEmbedded Copies an external reference into an embedded resource with a new resource ID. Nothing is done if the resource is already embedded.
Public methodCopyToNonEmbedded Copies the bitmap associated with a given resource ID into an external reference with a new resource ID. Nothing is done if it is already an external reference.
Public methodEmbedBitmap Embeds a given bitmap and store it as a resource for later use.
Public methodGetBitmapHolder Retrieves the bitmap holder with a given resource ID.
Public methodGlobalConvertToEmbedded Converts the bitmap associated with a given resource ID into an embedded resource. Nothing is done if it is already embedded.
Public methodGlobalConvertToNonEmbedded Converts the bitmap associated with a given resource ID into an external reference. Nothing is done if it is already an external reference.
Public methodHasResource Checks whether a given resource ID exists.
Public methodIsEmbedded Retrieves the status whether the bitmap with a given resource ID is embedded.
Public methodLoadFromFile Loads a bitmap from a file and store it as a resource for later use.
Public methodLoadFromFileAndEmbed Loads a bitmap from a file and store it as an embedded resource for later use.
Public methodMoveResource Moves the bitmap from the source to the target ID.
Public methodRemoveBitmap Removes the bitmap with a given resource ID from the list.
Top
See Also