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.v23.1.Core.dll
NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design
Declaration
Parameters
Name | Type | Description |
---|---|---|
image | Image | The image the |
Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
isSharedResource | Boolean | False |
|
Remarks
Important
Use the ImageSource.ImageSource(DXImage, Boolean) overload for .NET 7 or in non-Windows environments.
If you create a shared image source, it is not disposed when the you dispose the owner object.