Interface AnalyzerResult
Represents the PDF document analyzer result.
Namespace: Syncfusion.Pdf.Parsing
Assembly: Syncfusion.Pdf.Portable.dll
Syntax
public interface AnalyzerResult
Examples
string filePath = "Input.pdf";
//load the document
PdfDocumentAnalyzer analyzer = new PdfDocumentAnalyzer(filePath);
//Analyze the synyax issue
SyntaxAnalyzerResult analyzerResult = analyzer.AnalyzeSyntax();
if(analyzerResult.IsCorrupted)
{
throw new Exception("The document is corrupt");
}
analyzer.Close();
Properties
Errors
Gets the errors.
Declaration
List<PdfException> Errors { get; }
Property Value
Type |
---|
System.Collections.Generic.List<PdfException> |