Copy a Image object to the clipboard.
More...
Copy a Image object to the clipboard.
◆ ContainsImage()
static bool ContainsImage |
( |
| ) |
|
|
static |
Check whether the clipboard contains data that can be directly pasted into a CVB image.
- Returns
true
if the application's clipboard currently contains and image that is compatible with CVB, false
otherwise.
◆ GetImage()
static Image GetImage |
( |
| ) |
|
|
static |
Get a Image currently stored in the clipboard.
- Returns
- image from the clipboard
- Exceptions
-
ExternalException | If getting the image from the clipboard failed |
◆ SetImage()
static void SetImage |
( |
Image |
image | ) |
|
|
static |
Copy a Image object to the clipboard.
- Parameters
-
image | image to be copied to the clipboard. |
- Exceptions
-
ArgumentNullException | If the image parameter is null |
ObjectDisposedException | If the image has already been disposed |
ExternalException | If copying to the clipboard failed |