Bewerken

Share via


Clipboard.ContainsImage Method

Definition

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.

Applies to

See also