Skip to main content

TcxCustomImage Class

The base class for unbound and data-aware image editors.

Declaration

TcxCustomImage = class(
    TcxCustomEdit,
    IdxScrollingControl,
    IdxZoomClient,
    IcxTrackBar
)

Remarks

An image editor is designed to store and display an image. Unbound and data-aware image editors allow users to 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 TcxCustomImage class that allow you to load and save images as well as configure image editor settings.

Terminal TcxCustomImage Class Descendants

Do not use the TcxCustomImage class directly. Use the following descendants instead:

TcxImage
An unbound image editor.
TcxDBImage
A data-aware image editor.
See Also