Sign in Join
FPDoc Onlineexperiment

TPicture.LoadFromFile procedure

Member of TPicturepublicIn unit Graphics

LoadFromFile - Reads a picture from disk.

Declaration

pascal
procedure LoadFromFile(const Filename: string)

Arguments

Filename

The name of the file containing the picture, stored as a string.

Description

LoadFromFile - Reads a picture from disk. The TGraphic class created is determined by the file extension of the file.

Errors

If the file extension is not recognized, an exception is raised.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.