ImageItemCollection.Add(String, ImageSource) Method
In This Article
Creates an ImageItem object and adds it to the ImageItemCollection collection.
Namespace: DevExpress.XtraPrinting.Drawing
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
public void Add(
string id,
ImageSource imageSource
)
#Parameters
Name | Type | Description |
---|---|---|
id | String | The image item’s ID. |
image |
Image |
An object that stores an image. |
#Remarks
This method creates a new ImageItem object, initializes it with the specified values and adds it to the end of the collection.
See Also