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

Property 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 compatibility and means that the current CodecsRasterizeDocumentLoadOptions will not be used when rasterization occurs on 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 of doing this is by first instantiating the RasterCodecs object and then setting enabled to true:

C#

            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: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also