Skip to main content

TcxDBImage Class

A data-aware image editor.

Declaration

TcxDBImage = class(
    TcxCustomImage
)

Remarks

A data-aware image editor is designed to display and manage images stored in a database. Users can invoke a context menu to manage images.

VCL Editors Library: An Image Editor Example

Image editors can use different TGraphic class descendants as image containers. You can use Properties.GraphicClass and Properties.GraphicClassName properties to switch between image container types.

Supported Image Formats

  • Device-independent bitmap (BMP or DIB)
  • Graphics Interchange Format (GIF) with support for animation
  • Joint Photographic Experts Group (JPG, JPEG, etc.)
  • Portable Network Graphics (PNG)
  • Tagged Image File Formats (TIFF)
  • Scalable Vector Graphics (SVG)
  • Windows Metafiles (EMF and WMF)
  • Icons (ICO)

Main API Members

The list below outlines key members of the TcxDBImage class that allow you to load and save images as well as configure image editor settings.

Repository Item Class

You can create a TcxEditRepositoryImageItem component in an edit repository to store image editor settings and share them between multiple image editors.

Limitations

  • You cannot use a data-aware image editor as an in-place editor in container controls.
  • Ensure that the bound dataset field contains image data; otherwise, an error may occur.
See Also