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