Clipboard.ContainsImage Method ()

 

Queries the Clipboard for the presence of data in the Bitmap data format.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

public static bool ContainsImage()

Return Value

Type: System.Boolean

true if the Clipboard contains data in the Bitmap data format; otherwise, false.

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.

.NET Framework
Available since 3.0
Return to top
Show: