ImageEn, unit imageenio

TImageEnIO.LoadFromFilePCX

TImageEnIO.LoadFromFilePCX


Declaration

function LoadFromFilePCX(const FileName: WideString): Boolean;


Description

Loads an image from a PCX file. Result will be false if the file is not PCX format (and Aborting will be true). Loading errors due to a file not being available will raise an exception.

FileName is the file name including extension.

Note: You can abort loading by setting Aborting to true
                                    

Example

ImageEnView1.IO.LoadFromFilePCX('C:\alfa.pcx');