Vcl.Graphics.GraphicFileMask
Delphi
function GraphicFileMask(GraphicClass: TGraphicClass): string;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall GraphicFileMask(TGraphicClass GraphicClass);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | Vcl.Graphics |
Description
Returns a file mask that specifies the valid extensions for a graphic class.
Call GraphicFileMask to obtain a mask to determine the file extensions associated with a graphic class. The GraphicClass parameter can specify one of these values: TBitmap, TGraphic, TIcon, TMetafile, or a user-defined descendant of TGraphic. These are the strings that are returned for each built-in graphics class:
Graphic class | Filter string returned |
---|---|
TBitmap |
|
TIcon |
|
TMetafile |
|
TGraphic |
|
TGraphic |
|
See Also
Code Examples