Skip to main content
A newer version of this page is available.

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.v19.2.Core.dll

Declaration

public ImageSource(
    Image image,
    bool isSharedResource
)

Parameters

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.

Remarks

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

See Also