Leadtools.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
FastFileInfo Property
See Also 
Leadtools.Codecs Namespace > RasterCodecs Class : FastFileInfo Property



Enables or disables fast file info processing.

Syntax

Visual Basic (Declaration) 
Public Property FastFileInfo As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
Dim value As Boolean
 
instance.FastFileInfo = value
 
value = instance.FastFileInfo
C# 
public bool FastFileInfo {get; set;}
C++/CLI 
public:
property bool FastFileInfo {
   bool get();
   void set (bool value);
}

Return Value

true to enable fast file info processing; false to disable it.

Remarks

This property causes the LEADTOOLS File Information / Load methods to only check the file’s signature when trying to determine the file’s format.

The default behavior when calling LEADTOOLS File Information and Load methods, is that if the file’s signature does not match one of the known file format signatures, then LEADTOOLS will allow each of the available file format filters a chance to properly identify the file’s format. This can both slow down an application and unnecessarily use up system resources if the application attempts to load files of an unsupported format (i.e. non-image files).

When Fast File Info is enabled, the file will be rejected if the signature does not match one of the known file format signatures and thus the file format dlls will not unnecessarily be loaded or called.

You must enable this feature prior to calling any LEADTOOLS File Information or Load/Save methods.

The default value is false.

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also