Vcl.AxCtrls.TOleGraphic.LoadFromFile
Delphi
procedure LoadFromFile(const Filename: string); override;
C++
virtual void __fastcall LoadFromFile(const System::UnicodeString Filename);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.AxCtrls.pas Vcl.AxCtrls.hpp |
Vcl.AxCtrls | TOleGraphic |
Description
Prevents OleGraphics from trying to load from a file.
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.