Interface AnalyzerResult
Represents the PDF document analyzer result.
Namespace: Syncfusion.Pdf.Parsing
Assembly: Syncfusion.Pdf.Base.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 | Description |
---|---|
System.Collections.Generic.List<PdfException> |