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