LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

LoadCorrupted Property






Indicates whether or not to load corrupted files without throwing an exception. .NET support WinRT support Silverlight support
Syntax
public bool LoadCorrupted {get; set;}
'Declaration
 
Public Property LoadCorrupted As Boolean
'Usage
 
Dim instance As CodecsLoadOptions
Dim value As Boolean
 
instance.LoadCorrupted = value
 
value = instance.LoadCorrupted
public bool LoadCorrupted {get; set;}
 get_LoadCorrupted();
set_LoadCorrupted(value);
public:
property bool LoadCorrupted {
   bool get();
   void set (    bool value);
}

Property Value

true to load corrupted files, false to throw an exception if the file cannot be completely loaded successfully.
Remarks
This mainly applies to JPEG compressed files that have corruption in the compressed data. If this property is set to True, then LEADTOOLS will load as much of the image data as possible, and will not throw an exception.
Example
For an example, refer to CodecsOptions.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CodecsLoadOptions Class
CodecsLoadOptions Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.