ImageEn, unit iexDBBitmaps |
|
TIEDBMultiBitmap.UpdateDatabaseImage
Declaration
procedure UpdateDatabaseImage();
Description
Writes any changes to the image back to the blob field of the database table (at the current cursor position). Your current settings for
DataSource,
ImageBlobField,
ImageStorageMode and
JpegQuality are used.
This method has no effect if images are not stored within the database (i.e.
ImageStorageMode must be
isEmbeddedBlob).
Raises exception on failure.
This is the same as calling:
MyTable.Edit;
MyMDBBitmap.Write();
MyTable.Post;
Note: This option only applies when Mode = dmRecordFrames
// Rotate the current image and update the database
MyDBBitmap.Rotate( -90 );
MyDBBitmap.UpdateDatabaseImage();
See Also
◼Write