Clipboard.ContainsImage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Queries the Clipboard for the presence of data in the Bitmap data format.
public:
static bool ContainsImage();
public static bool ContainsImage ();
static member ContainsImage : unit -> bool
Public Shared Function ContainsImage () As Boolean
Returns
true
if the Clipboard contains data in the Bitmap data format; otherwise, false
.
Remarks
This method returns true
only if the specified data format exists natively or is available as an auto-convertible data format on the Clipboard; this method does not check for the presence of auto-convertible data formats.
A bitmap represents a computer graphic as an array of bits in memory, and these bits represent the attributes of the individual pixels in an image.