Interface
DBKit.SDK.RowDataImageControl
DBKit.SDK.RowDataImageControl
Description
Implemented by a control that displays and edits an image column of a row, such as the built-in ImageViewer. It extends DBKit.SDK.RowDataControl with the two things DBKit needs to know in order to store the control's picture in the database: the picture format to use and, for formats that support it, the quality.
A control implementing this interface must also implement every method of RowDataControl, DBKit.SDK.RowBase and DBKit.SDK.RowEventReceiver.
Methods
Name |
Parameters |
Returns |
|---|---|---|
Picture.Formats |
||
Method descriptions
DBKit.SDK.RowDataImageControl.PictureFormat
PictureFormat() As Picture.Formats
Returns the picture format DBKit uses when it converts the control's picture for storage in the database, and the format it expects when it reads a picture back from the database for the control to display.
DBKit.SDK.RowDataImageControl.PictureQuality
PictureQuality() As Integer
Returns the quality DBKit uses when it encodes the control's picture in a format that supports a quality setting, such as JPEG. It has no effect for formats without one.
Notes
The methods an interface requires can be implemented as Private. DBKit works with the control through the interface, so the methods do not need to be public on the control class itself.
Compatibility
Project Types |
Desktop, Web |
Operating Systems |
All |
See also
DBKit SDK overview, DBKit.SDK.RowDataControl.