Visual Basic (Declaration) | |
---|---|
Public Property Enabled As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public bool Enabled {get; set;} |
Return Value
true to use the current CodecsRasterizeDocumentLoadOptions properties when loading document files. false otherwise.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.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family