Managing Images in a Database
The LEADTOOLS COM supports database access using Open Database Connectivity (ODBC). For more information about the ODBC requirements, refer to Using ODBC.
Use the following methods to open and close the database. (The dbOpen method identifies not only the database, but also the recordset to be accessed and the field that is used for LEADTOOLS images.)
Use the following methods to access an existing record:
Use the following property to control how the image is loaded from the database field into the bitmap:
Use one of the following methods to indicate whether you are adding a new record or editing the current one:
When updating an existing record, use the following property to control record locking:
When adding or updating an image, use the following method to store the image in the field:
Use the following method to delete the current record:
Use the following method to verify your changes in the database:
Use the following properties to get information about the database and your connection to it:
Use the following properties to access the internal ILEADRaster object and the Annotation container:
Set the following property to enable or disable the generation of error exceptions:
Use the following event to determine when the bitmap has been changed by an ODBC method: