Visual Basic (Declaration) | |
---|---|
Public Property LoadCorrupted As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public bool LoadCorrupted {get; set;} |
Return Value
true to load corrupted files, false to throw an exception if the file cannot be completely loaded successfully.For an example, refer to CodecsOptions.
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.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family