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 > CodecsRasterizeDocumentLoadOptions Class : Enabled Property



Gets a value that indicate whether to use the current CodecsRasterizeDocumentLoadOptions properties when loading document files.

Syntax

Visual Basic (Declaration) 
Public Property Enabled As Boolean
Visual Basic (Usage)Copy Code
Dim instance As CodecsRasterizeDocumentLoadOptions
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 use the current CodecsRasterizeDocumentLoadOptions properties when loading document files. false otherwise.

Example

For an example, refer to CodecsRasterizeDocumentLoadOptions.

Remarks

The value of Enabled is set to false by default in the current version of LEADTOOLS. This is done for backward compatibilty and means the current CodecsRasterizeDocumentLoadOptions will not be used when rasterization a document image. You must set the value of this property to true first before using the rest of the properties of this class. A convenient way to do that is after instantiating the RasterCodecs object you will be using in your code:


RasterCodecs codecs = new RasterCodecs();
Use the new RasterizeDocumentOptions
codecs.Options.RasterizeDocument.Load.Enabled = true;

LEADTOOLS will set the default value of CodecsRasterizeDocumentLoadOptions.Enabled to true in the next version so it is recommended you start porting your code to use the new options.

Requirements

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

See Also