Skip to main content
A newer version of this page is available. .

TdxSVGImageCodec Class

An SVG image format codec.

Declaration

TdxSVGImageCodec = class(
    TdxSmartImageCodec
)

Remarks

DevExpress products use this codec to load and save SVG images and icons. This class provides the following class functions that allow you to:

  • Obtain the SVG format description and the corresponding filename extension (Extensions and Description);

  • Obtain pixel dimensions of an image stored in a stream (GetSize);

  • Identify if the specified stream contains SVG image data (CanLoadStream);

  • Check if the codec can save the specified image stored in memory (CanSaveImage)

  • Persist an SVG image in a stream (Load and Save).

If a Smart Image container’s ImageCodec property is set to a reference to the TdxSVGImageCodec class, the container stores an SVG image.

Inheritance

See Also