Skip to main content

TdxOfficeImageFormat Enum

Enumerates image formats supported by the Office Image container.

Declaration

TdxOfficeImageFormat = (
    None,
    Bmp,
    Emf,
    Exif,
    Gif,
    Icon,
    Jpeg,
    MemoryBmp,
    Png,
    Tiff,
    Wmf
);

Members

Name
None
Bmp
Emf
Exif
Gif
Icon
Jpeg
MemoryBmp
Png
Tiff
Wmf

Remarks

Options include:

Value Description The TdxOfficeImage.GetContentType Function Result The TdxOfficeImage.GetExtension Function Result The Corresponding TdxImageDataFormat Value
None The image format is unspecified or unrecognized. An empty string. An empty string. dxImageUnknown
Bmp The bitmap (BMP) image format. ‘image/bitmap’ ‘bmp’ dxImageBitmap
Emf The enhanced metafile (EMF) image format. ‘application/x-msmetafile’ ‘emf’ dxImageEmf
Exif The exchangeable Image File (Exif) format. An empty string. An empty string. dxImageExif
Gif The Graphics Interchange Format (GIF). ‘image/gif’ ‘gif’ dxImageGif
Icon The Windows icon (ICO) image format. ‘image/x-icon’ ‘ico’ dxImageIcon
Jpeg The Joint Photographic Experts Group (JPEG) image format. ‘image/jpeg’ ‘jpg’ dxImageJpeg
MemoryBmp The format corresponding to a bitmap image stored in memory. Unlike the other supported bitmap formats, MemoryBmp has no corresponding image file format. An empty string. An empty string. dxImageMemoryBmp
Png The Portable Network Graphics (PNG) image format. ‘image/png’ ‘png’ dxImagePng
Tiff The Tagged Image File Format (TIFF). ‘image/tiff’ ‘tif’ dxImageTiff
Wmf The Windows metafile (WMF) image format. ‘application/x-msmetafile’ ‘wmf’ dxImageWmf

The TdxOfficeImage.RawFormat function references the TdxOfficeImageFormat type.

Note

TdxOfficeImageFormat is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxOfficeImageFormat.Jpeg (in Delphi) or TdxOfficeImageFormat::Jpeg (in C++Builder) to refer to the Jpeg value in code.

See Also