@@ -282,10 +282,11 @@ namespace ComPDFKit.Controls.Measure
private void SetMeasureInfoPanel(CPDFAnnotation annot,AnnotParam param = null)
{
- if (annot == null)
+ if (annot == null || !annot.IsValid())
return;
}
+
try
if (annot.Type == C_ANNOTATION_TYPE.C_ANNOTATION_LINE)