Home News DOC Class DL Others Rice
Class  >  clipboard  >  GetImage()
clipboard class : GetImage() method

Description

Gets an image data from the clipboard.

Syntax

instance.GetImage()

Arguments

None.

Return value

ClassDescription
bitmapAn image data.

Sample code

1:

clipboard clip;

2:

bitmap bmp = clip.GetImage();

Notes

If the image data exists, it is returned as an instance of the bitmap. Otherwise, returns an uninitialized bitmap instance.

It is a wrapper of the System.Windows.Clipboard.GetImage().

Links for reference

Copyright © Rice All rights reserved.