Class WinFormsImageExtensions
Convenience class for non-generic access to WinFormsImage image objects.
Inherited Members
Namespace: Dicom.Imaging
Assembly: cs.temp.dll.dll
Syntax
public static class WinFormsImageExtensions
Methods
AsBitmap(IImage)
Convenience method to access WinForms IImage instance as WinForms
Declaration
[Obsolete("use AsClonedBitmap or AsSharedBitmap instead.")]
public static Bitmap AsBitmap(this IImage image)
Parameters
Type | Name | Description |
---|---|---|
IImage | image | IImage object. |
Returns
Type | Description |
---|---|
Bitmap |
|
AsClonedBitmap(IImage)
Convenience method to access WinForms IImage instance as WinForms
Declaration
public static Bitmap AsClonedBitmap(this IImage iimage)
Parameters
Type | Name | Description |
---|---|---|
IImage | iimage | IImage object. |
Returns
Type | Description |
---|---|
Bitmap |
|
AsSharedBitmap(IImage)
Convenience method to access WinForms IImage instance as WinForms
Declaration
public static Bitmap AsSharedBitmap(this IImage iimage)
Parameters
Type | Name | Description |
---|---|---|
IImage | iimage | IImage object. |
Returns
Type | Description |
---|---|
Bitmap |
|