Skip to main content
A newer version of this page is available. .

ImageCollection.AddImage(Image, String) Method

Adds an image with the specified name to the collection.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v18.2.dll

Declaration

public void AddImage(
    Image image,
    string name
)

Parameters

Name Type Description
image Image

An Image to be added to the collection.

name String

A string that specifies the image’s name. You can then retrieve images by name via the ImageCollection.Images property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AddImage(Image, String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also