@@ -1405,6 +1405,10 @@ namespace ComPDFKit.Tool
}
else
{
+ if( annotation == null || annotation.IsValid()==false)
+ {
+ return;
+ }
CPDFDocument cPDFDocument = viewerTool.GetCPDFViewer().GetDocument();
CPDFPage cPDFPage = cPDFDocument.PageAtIndex(pageindex);
Point cropPoint = new Point();