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

Declaration

public ImageSource(
    SvgImage svgImage,
    bool isSharedResource
)
Public Sub New(
    svgImage As SvgImage,
    isSharedResource As Boolean
)

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