ImageSource(Image, Boolean) Constructor

Creates an ImageSource object and sets its ImageSource.Image property to the image passed as a parameter.

Namespace: DevExpress.XtraPrinting.Drawing

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


public ImageSource(
    Image image,
    bool isSharedResource


Name Type Description
image Image

The image the ImageSource object stores.

isSharedResource Boolean

true, if the created image source is used by multiple objects; otherwise, false.


If you create a shared image source, it is not disposed when the owing object (e.g., with a report) is disposed.

See Also