Back to Devexpress

TdxSVGImageCodec Class

vcl-dxsvgimage-c35a71b7.md

latest2.7 KB
Original Source

TdxSVGImageCodec Class

A Scalable Vector Graphics (SVG) image format codec.

Declaration

delphi
TdxSVGImageCodec = class(
    TdxSmartImageCodec
)

Remarks

The TdxSVGImageCodec class implements the Scalable Vector Graphics (SVG) image format in DevExpress products. Refer to the following topic for detailed information on supported SVG elements and attributes: Support for Vector Images.

Main API Members

The list below outlines key members of the TdxSVGImageCodec class that allow you to perform basic operations with images.

Extensions | Description | MimeTypeReturn the implemented format description, associated MIME type, and file name extensions.CanLoadFromBitsAllows you to identify if the codec can load an image from pixel data.CanLoadStreamIdentifies whether the specified stream contains supported image data.GetSizeReturns dimensions of an image stored in a stream.CanSaveImageAllows you to check if the codec can save the specified image.Load | SaveLoad and save images.

TdxSVGImageCodec Class References

The TdxSmartImageCodecClass type references the TdxSVGImageCodec class.

Limitations

While Smart Image containers can convert vector images to any supported bitmap format, the reverse operation is impossible.

Inheritance

TObject TdxSmartImageCodec TdxSVGImageCodec

See Also

TdxCustomSmartImage.ImageCodec property

TdxGPImageCodec Class

TdxSmartImageCodecClass Type

TdxSVGImageCodec Members

dxSVGImage Unit