RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TGraphic Class

TGraphic is the abstract base class type for objects such as icons, bitmaps, and metafiles that can store and display visual images.

Pascal
TGraphic = class(TInterfacedPersistent, IStreamPersist);
C++
class TGraphic : public TInterfacedPersistent, public IStreamPersist;

Graphics

TGraphic is an abstract class that cannot be instantiated. Descendant graphics objects override many of the methods of TGraphic to address the needs of their particular file format and graphical characteristics. TGraphic also introduces methods that work with TPicture objects and the Clipboard. Properties of TGraphic provide information about the state and size of the graphic image. 

When the type of graphic is known, store the graphic in its specific type object. Otherwise, use a TPicture object that can hold any type of TGraphic. 

 

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