Vcl.Graphics.EInvalidGraphic
Delphi
EInvalidGraphic = class(Exception);
C++
class PASCALIMPLEMENTATION EInvalidGraphic : public System::Sysutils::Exception
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | Vcl.Graphics |
Description
EInvalidGraphic is the exception class for unrecognized graphic files.
EInvalidGraphic is raised when
An application attempts to load a file that is not a valid bitmap, icon, metafile, or user-defined graphic type into a picture.
An application attempts to load a file with an unrecognized extension.
An image does not match the format specified in a call to LoadFromClipboardFormat or SaveToClipboardFormat.
An application attempts to set a bitmap's PixelFormat property to an unsupported value.