Redigera

Dela via


DataObject.ContainsImage Method

Definition

Indicates whether the data object contains data that is in the Bitmap format or can be converted to that format.

public:
 virtual bool ContainsImage();
public virtual bool ContainsImage ();
abstract member ContainsImage : unit -> bool
override this.ContainsImage : unit -> bool
Public Overridable Function ContainsImage () As Boolean

Returns

true if the data object contains image data; otherwise, false.

Remarks

Use this method to determine whether the data object contains image data before retrieving it with the GetImage method.

Applies to

See also