←Select platform

LoadCorrupted Property

Summary

Indicates whether to load corrupted files without throwing an exception.

Syntax
C#
C++/CLI
Python
public bool LoadCorrupted {get; set;} 
public:  
   property bool LoadCorrupted 
   { 
      bool get() 
      void set(bool value) 
   } 
LoadCorrupted # get and set (CodecsPdfLoadOptions) 

Property Value

Value Description
true To load corrupted files without throwing an exception.
false To throw an exception if the file cannot be loaded successfully. The default value is false.
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.

Requirements

Target Platforms

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

Leadtools.Codecs Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.