RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleGraphic.LoadFromFile Method

Prevents OleGraphics from trying to load from a file.

Pascal
procedure LoadFromFile(const Filename: string); override;
C++
virtual __fastcall LoadFromFile(const AnsiString Filename);

LoadFromFile is overridden in TOleGraphic so that it will not load a graphic from a file. Attempting to do so is not appropriate for an IPicture. 

 

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