Skip to main content
All docs
V26.1
  • ImageItemCollection.Add(String, ImageSource) Method

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

    Namespace: DevExpress.XtraPrinting.Drawing

    Assembly: DevExpress.Printing.v26.1.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.

    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