LoadFileTile method (Main Control)
Builder Syntax |
int LoadFileTile (AnsiString szFileName, int iBitsPerPixel, int iPage, int iPages, int nLeft, int nTop, int nWidth, int nHeight); |
Delphi Syntax |
Function LoadFileTile (szFileName: String; iBitsPerPixel: Integer; iPage: Integer; iPages: Integer; nLeft, nTop, nWidth, nHeight: Integer): Integer; |
Overview |
Refer to Loading a Bitmap from a File. |
Remarks
Loads a section of an image from a file into the Main Control. The file can be in any supported image file format and bits per pixel, whether compressed or uncompressed.
When loading an image section from a file, LEADTOOLS normally determines the file format from the header. If the format is unrecognized, or there is no header, an error is returned. Raw Fax files do not have headers, therefore OnLoadInfo event must be sent when loading raw Fax files.
For supported formats, refer to Summary of All Supported Image File Formats.
Support for 12 and 16-bit grayscale images is available only in the Document/Medical toolkits.
For a list of available products, refer to Summary of LEADTOOLS Products.
See Also