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.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public ImageSource(
    SvgImage svgImage,
    bool isSharedResource
)

Parameters

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.

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