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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.