RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleGraphic.Assign Method

Copies an IPicture to the OLE graphic object.

Pascal
procedure Assign(Source: TPersistent); override;
C++
virtual __fastcall Assign(TPersistent * Source);

Assign copies the IPicture contained in Source to the OLE graphic object. Assign then calls the inherited Assign. The IPicture can be a bitmap, metafile or icon image. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!