RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
EInvalidGraphic Class

EInvalidGraphic is the exception class for unrecognized graphic files.

Pascal
EInvalidGraphic = class(Exception);
C++
class EInvalidGraphic : public Exception;

Graphics

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!