Back to Devexpress

TdxGPImageCodecWMF Class

vcl-dxgdiplusclasses-8a3f9dc4.md

latest2.7 KB
Original Source

TdxGPImageCodecWMF Class

A Windows Metafile (WMF) image format codec.

Declaration

delphi
TdxGPImageCodecWMF = class(
    TdxGPImageCodecEMF
)

Remarks

TdxGPImageCodecWMF and TdxGPImageCodecEMF classes implement Windows Metafile (WMF) and Enhanced Windows Metafile (EMF) image formats in DevExpress products. Both codecs rely on the functionality of the native Windows Metafile encoder from the Windows Imaging Component (WIC).

Main API Members

The list below outlines key members of the TdxGPImageCodecWMF 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.

TdxGPImageCodecWMF Class References

You can assign a reference to the TdxGPImageCodecWMF class to a Smart Image container’s ImageCodec property to convert an image in the container to the WMF format.

Inheritance

TObject TdxSmartImageCodec TdxGPImageCodec TdxGPImageCodecEMF TdxGPImageCodecWMF

See Also

TdxGPImageCodec Class

TdxSVGImageCodec Class

TdxSmartImageCodecClass Type

TdxGPImageCodecWMF Members

dxGDIPlusClasses Unit