DataObject.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 a data object for the presence of data in the Bitmap data format.
public:
bool ContainsImage();
public bool ContainsImage ();
member this.ContainsImage : unit -> bool
Public Function ContainsImage () As Boolean
Returns
true
if the data object contains data in the Bitmap data format; otherwise, false
.
Remarks
This method returns true
only if the specified data format exists natively in the data object; 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.