ImageItemCollection.Add(String, ImageSource) Method

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

Namespace: DevExpress.XtraPrinting.Drawing

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

Declaration

public void Add(
    string id,
    ImageSource imageSource
)
Public Sub Add(
    id As String,
    imageSource As ImageSource
)

Parameters

Name Type Description
id String

The image item's ID.

imageSource ImageSource

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