Home Notices Documents Classes Download Others Rice
Classes  >  clipboard  >  GetImage()
clipboard class : GetImage() method

Description

Gets an image from the clipboard.

Syntax

clipboadInstance.GetImage()

Arguments

None

Return value

ClassDescription
bitmapThe image on the clipboard.

Sample code

1:

clipboard c = new clipboard();

2:

bitmap image = c.GetImage();

Notes

It's a wrapper of the System.Windows.Clipboard.GetImage() method.

When there is an image data on the clipboard, returns the bitmap that was initialized. Otherwise, returns the bitmap that does not initialized.

Links for reference

Copyright © Rice All rights reserved.