CVB.Net 14.0
Clipboard Class Reference

Mimics the class System.Windows.Forms.Clipboard by additional static functions. 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

Mimics the class System.Windows.Forms.Clipboard by additional static functions.

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 a Common Vision Blox compatible image, 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