Document.IgnoreCorruptedObjects
Document.IgnoreCorruptedObjects property
Gets or sets flag of ignoring errors in source files. When pages from source document copied into destination document, copying process is stopped with exception if some objects in source files are corrupted when this flag is false. example: dest.Pages.Add(src.Pages); If this flag is set to true then corrupted objects will be replaced with empty values. By default: true.
public bool IgnoreCorruptedObjects { get; set; }
See Also
- class Document
- namespace Aspose.Pdf
- assembly Aspose.PDF