Vcl.Graphics.TWICImage.ImageFormat
Delphi
property ImageFormat: TWICImageFormat read FImageFormat write SetImageFormat;
C++
__property TWICImageFormat ImageFormat = {read=FImageFormat, write=SetImageFormat, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TWICImage |
Description
Provides access to the format used to represent the enclosed image.
Use ImageFormat to check or set the format of the enclosed image. ImageFormat has the values listed in the following table:
Value | Meaning |
---|---|
wifBmp |
Identifies a Bitmap image. |
wifPng |
Identifies a PNG image. |
wifJpeg |
Identifies a JPEG image. |
wifGif |
Identifies a GIF image. |
wifTiff |
Identifies a TIFF image. |
wifWMPhoto |
Identifies a Windows Media Photo image. |
wifOther |
Identifies an unknown image type. |
If you change the value of the ImageFormat property, the TWICImage object makes sure to change the format of the enclosed image on the next save operation.