Interface

# DBKit.SDK.RowDataImageControl

<div class="rst-class">

forsearch

</div>

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</api/databases/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</api/databases/dbkit/sdk/rowbase>` and `DBKit.SDK.RowEventReceiver</api/databases/dbkit/sdk/roweventreceiver>`.

## `Methods</getting_started/using_the_xojo_language/methods>`

<div class="rst-class">

methods-table

</div>

| Name                                                           | Parameters | Returns                                  |
|----------------------------------------------------------------|------------|------------------------------------------|
| `PictureFormat<dbkit.sdk.rowdataimagecontrol.pictureformat>`   |            | `Picture</api/graphics/picture>`.Formats |
| `PictureQuality<dbkit.sdk.rowdataimagecontrol.picturequality>` |            | `Integer</api/data_types/integer>`       |

## Method descriptions

<div id="dbkit.sdk.rowdataimagecontrol.pictureformat">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

DBKit.SDK.RowDataImageControl.PictureFormat

**PictureFormat**() As `Picture</api/graphics/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.

<div id="dbkit.sdk.rowdataimagecontrol.picturequality">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

DBKit.SDK.RowDataImageControl.PictureQuality

**PictureQuality**() As `Integer</api/data_types/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          |

<div id="dbkit.sdk.rowdataimagecontrol.seealso">

<div class="seealso">

`DBKit SDK</api/databases/dbkit/sdk>` overview, `DBKit.SDK.RowDataControl</api/databases/dbkit/sdk/rowdatacontrol>`.

</div>

</div>
