LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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);
}

Property Value

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

Remarks

This property causes the LEADTOOLS File Information and 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. As a result the file format dlls will not be loaded or called unnecessarily.

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

The default value is false.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also