Skip to main content

ImageSource(SvgImage, Boolean) Constructor

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

Namespace: DevExpress.XtraPrinting.Drawing

Assembly: DevExpress.Printing.v23.1.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design


public ImageSource(
    SvgImage svgImage,
    bool isSharedResource


Name Type Description
svgImage SvgImage

An SVG 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