Skip to main content

ImageItemCollection.Add(String, ImageSource) Method

Creates an ImageItem object and adds it to the ImageItemCollection collection.

Namespace: DevExpress.XtraPrinting.Drawing

Assembly: DevExpress.Printing.v22.2.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design


public void Add(
    string id,
    ImageSource imageSource


Name Type Description
id String

The image item’s ID.

imageSource ImageSource

An object that stores an image.


This method creates a new ImageItem object, initializes it with the specified values and adds it to the end of the collection.

See Also