LoadInfoWidth property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int LoadInfoWidth

Delphi Syntax

LoadInfoWidth : Integer

Overview

Refer to Loading a Bitmap from a File.

Remarks

Specifies the width, in pixels, of the image to be loaded. LEADTOOLS uses this value only if it fails to find format information in the file header. You can use this and the other LoadInfo... properties for loading raw FAX data (CCITT Group 3 or Group 4).

If you want LEADTOOLS to automatically recognize any fax file, set the LoadInfoWidth and LoadInfoHeight properties to -1 once, at the beginning of the program.

LEADTOOLS checks the LoadInfoFormat property first. If that property has a non-zero value, it uses the other LoadInfo... property values. Keep in mind that when these values are used, LEADTOOLS does not validate the data in the file. If you want LEADTOOLS to validate the data, you must set the LoadInfoFormat property to zero.

See Also

Elements:

OnLoadInfo event, LoadInfoBits property, LoadInfoFlags property, LoadInfoFormat property, LoadInfoHeight property, LoadInfoOffset property, LoadInfoXRes property, LoadInfoYRes property, EnableLoadInfoEvent property

Topics:

Raster Images: Loading Files