CVB.Net 14.0
Clipboard Class Reference

Copy a Image object to the clipboard. More...

Static Public Member Functions

static void SetImage (Image image)
 Copy a Image object to the clipboard. More...
 
static Image GetImage ()
 Get a Image currently stored in the clipboard. More...
 
static bool ContainsImage ()
 Check whether the clipboard contains data that can be directly pasted into a CVB image. More...
 

Detailed Description

Copy a Image object to the clipboard.

Member Function Documentation

◆ 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
ExternalExceptionIf getting the image from the clipboard failed

◆ SetImage()

static void SetImage ( Image  image)
static

Copy a Image object to the clipboard.

Parameters
imageimage to be copied to the clipboard.
Exceptions
ArgumentNullExceptionIf the image parameter is null
ObjectDisposedExceptionIf the image has already been disposed
ExternalExceptionIf copying to the clipboard failed