![]() |
IOLink C# 1.11.0
|
Utility class to check and convert a View into an ImagevView. More...
Public Member Functions | |
| ImageViewProvider (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| void | Dispose () |
Static Public Member Functions | |
| static global::System.Runtime.InteropServices.HandleRef | getCPtr (ImageViewProvider obj) |
| static global::System.Runtime.InteropServices.HandleRef | swigRelease (ImageViewProvider obj) |
| static bool | IsImage (View view) |
| Checks if a given View is an ImageView. | |
| static ImageView | ToImage (View view) |
| Extracts the ImageView interface from a given generic view. | |
| static ImageView | ToReadOnly (ImageView image) |
| Remove all capacities except READ to an ImageView. If given ImageView only has READ capacity, it is returned directly. | |
| static ImageView | ToWriteOnly (ImageView image) |
| Remove all capacities except WRITE to an ImageView. If given ImageView only has WRITE capacity, it is returned directly. | |
Protected Member Functions | |
| virtual void | Dispose (bool disposing) |
Protected Attributes | |
| bool | swigCMemOwn |
Utility class to check and convert a View into an ImagevView.
Extracts the ImageView interface from a given generic view.
If the given view is not an ImageView, this method will return null.
Remove all capacities except READ to an ImageView. If given ImageView only has READ capacity, it is returned directly.
| image | ImageView for which we want to only have READ capacity |
Remove all capacities except WRITE to an ImageView. If given ImageView only has WRITE capacity, it is returned directly.
| image | ImageView for which we want to only have WRITE capacity |