Visual Basic (Declaration) | |
---|---|
Public Property LoadCorrupted As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As CodecsLoadOptions Dim value As Boolean instance.LoadCorrupted = value value = instance.LoadCorrupted |
C# | |
---|---|
public bool LoadCorrupted {get; set;} |
Property 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: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)