←Select platform

LoadCorrupted Property

Summary

Indicates whether to load corrupted files without throwing an exception.

Syntax
C#
VB
Objective-C
C++
Java
public bool LoadCorrupted { get; set; } 
Public Property LoadCorrupted As Boolean 
@property (nonatomic, assign) BOOL loadCorrupted 
public boolean getLoadCorrupted() 
public void setLoadCorrupted(boolean value) 
public: 
property bool LoadCorrupted { 
   bool get(); 
   void set (    bool ); 
} 

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 AllocateImage.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly