DBPix Documentation
Version 2.0

ImageClear Method


Description:  Clears (deletes) the current image
Syntax:  boolean ImageClear()
Return Value:  
True    The image was deleted.
False    An error occurred, e.g. DBPix is bound to read-only data.
Remarks:  

The ImageModified. and ImageChanged events will be fired, and if DBPix is bound to a data-source the source will be updated.

This function can also be accessed via the context-menu at runtime (the ViewMenuMode property controls which menu-items are displayed at runtime).

An alternative way to clear the control without firing ImageModified is to set the Image property to Null, for example:

   DBPixCtrl.Image = ""

 

 

Documentation version 2.0.0