API:Vcl.Graphics.TPicture

From RAD Studio API Documentation
Jump to: navigation, search

System.Classes.TInterfacedPersistentSystem.Classes.TPersistentSystem.TObjectTPicture

Delphi

TPicture = class(TInterfacedPersistent, IStreamPersist)

C++

class PASCALIMPLEMENTATION TPicture : public System::Classes::TInterfacedPersistent

Properties

Type Visibility Source Unit Parent
class public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics Vcl.Graphics

Description

TInterfacedPersistent is an ancestor for persistent objects that implement interfaces.

Vcl.Graphics.TPicture inherits from System.Classes.TInterfacedPersistent. All content below this line refers to System.Classes.TInterfacedPersistent.

TInterfacedPersistent is an ancestor for persistent objects that implement interfaces.

TInterfacedPersistent, like all persistent objects, supports the ability to read and write its properties to and from a stream. In addition, it supplies a default implementation of the IInterface methods (_AddRef, _Release, and QueryInterface). This default implementation simply passes these calls on to the interface of the persistent object's Owner, if any.

Do not create instances of TInterfacedPersistent. Use TInterfacedPersistent as a base class when declaring objects that are not components, but that need to be saved to a stream or have their properties assigned to other objects, and that support interfaces.

See Also