GetFileInfo method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int GetFileInfo (System::AnsiString fName, int iPage);

Delphi Syntax

GetFileInfo (fName: String; iPage: Integer): Integer;

Overview

Refer to Loading a Bitmap from a File.

Remarks

Gets information about the specified file.

This method updates the following properties:

GetFileInfo method
InfoAnimation property

InfoAnimationHeight property

InfoBits property

InfoColorSpace property
InfoCompress property
InfoFormat property
InfoHasAlpha property
InfoHeight property
InfoLayers property
InfoPage property
InfoPCDRes property
InfoSizeDisk property
InfoSizeMem property
InfoTotalPages property
InfoViewPerspective property
InfoWidth property

InfoXres property
InfoYres property

See Also

Elements

InfoColorSpace property, GetMemoryInfo method

Topics

Raster Images: Loading Files

 

Raster Images: Getting and Setting File Information

 

Raster Images: Playing Animated Images