FMX.Graphics.TBitmapCodecManager.GetFileTypes
Delphi
class function GetFileTypes: string;
C++
__classmethod System::UnicodeString __fastcall GetFileTypes();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Graphics.pas FMX.Graphics.hpp |
FMX.Graphics | TBitmapCodecManager |
Description
Returns file extensions for image formats supported by this codec.
Use GetFileTypes to determine the image formats this codec can read and write. Formats are represented by their commonly used file extension. Some formats have more than one extension.
The file extensions are returned in a single string. Each extension is preceded by *.
and separated by semicolons (;). For example, a codec that supports PNG, JPEG, and GIF would return: *.png;*.jpeg;*.jpg;*.gif
.
For the base class TBitmapCodecManager, GetFileTypes returns an empty string.
Tip: The string returned by GetFileTypes can be used directly as part of the file type filter for the file chooser dialog box.
Note: For a list of formats supported by each platform, see TBitmapCodecManager.