Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Enabled Property
See Also 
Leadtools.Codecs Namespace > CodecsTxtLoadOptions Class : Enabled Property



Enables or disables the LEADTOOLS Txt codec.

Syntax

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

Return Value

true to enable the LEADTOOLS Txt codecs (Leadtools.Codecs.Txt.dll), false to disable it. Default is false.

Example

For an example, refer to CodecsTxtOptions.

Remarks

When this property is set to false, LEADTOOLS will not attempt to load TEXT files and rasterize them and the Leadtools.Codecs.Txt codecs will not be used.

Enabling the TEXT code will generally hender performance when the RasterCodecs object is attempting to load a file on disk with a wrong or missing a file header.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also