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

Description

Sets an image to the clipboard.

Syntax

clipboadInstance.SetImage(some class setImage)

Arguments

ClassNameDescription
some classsetImageAn instance of the class that handle an image.

Return value

None

Sample code

1:

clipboard c = new clipboard();

2:

browser b = new browser();

3:

bitmap captured = b.CaptureBrowser();

4:

c.SetImage(captured);

Please note that the bitmap class can be implicitly converted to System.Drawing.Bitmap.

Notes

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

Nothing happens if set a bitmap that does not initialized.


An unknown class which is an argument must be implemented internally so that implicit type conversion to System.Drawing.Bitmap is possible.

Please refer to the documentation of each class whether the class can be implicitly converted to System.Drawing.Bitmap.


The argument of this method is changed in Rtype.Clipboard.dll Ver 1.0.0.1.

Links for reference

Copyright © Rice All rights reserved.