LEADTOOLS Image File Support (Leadtools.Codecs assembly)

LoadCorrupted Property

Show in webframe







Indicates whether to load corrupted files without throwing an exception.
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;}
@property (nonatomic, assign) BOOL loadCorrupted;
public boolean getLoadCorrupted()
public void setLoadCorrupted(boolean value)
            
 
get_LoadCorrupted();
set_LoadCorrupted(value);
Object.defineProperty('LoadCorrupted');
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 AllocateImage.
Requirements

Target Platforms

See Also

Reference

CodecsLoadOptions Class
CodecsLoadOptions Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.