←Select platform

LoadCorrupted Property

Summary

Indicates whether to load corrupted files without throwing an exception.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public bool LoadCorrupted { get; set; } 
Public Property LoadCorrupted As Boolean 
public bool LoadCorrupted {get; set;} 
@property (nonatomic, assign) BOOL loadCorrupted 
public boolean getLoadCorrupted() 
public void setLoadCorrupted(boolean value) 
             
 <br/>get_LoadCorrupted();<br/>set_LoadCorrupted(value);<br/>Object.defineProperty('LoadCorrupted');  
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly