PreferredLoadFormat property (ILEADRasterIO)
RasterFileConstants PreferredLoadFormat | |
Overview |
Refer to Loading a Bitmap from a File |
Remarks
Contains the file format to try first when recognizing files for loading or getting file information, etc. For a list of possible values, refer to Formats of Input Files. For example, if your application is going to work with lots of PNG files, you can set this to FILE_PNG. Then, when a file is loaded, LEADTOOLS will test to see if the file is a PNG first. If it is not, then LEADTOOLS will continue with its normal process for recognizing a file.
Set this property to - 1 for normal behavior.