|
@@ -91,6 +91,12 @@ namespace Compdfkit_Tools.PDFControl
|
|
if (e.IsCreate)
|
|
if (e.IsCreate)
|
|
{
|
|
{
|
|
pdfViewerControl.UpdateAnnotFrame();
|
|
pdfViewerControl.UpdateAnnotFrame();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ if (currentAnnotationType == CPDFAnnotationType.Image || currentAnnotationType == CPDFAnnotationType.Stamp || currentAnnotationType == CPDFAnnotationType.Signature)
|
|
|
|
+ {
|
|
|
|
+ pdfViewerControl.SetToolType(ToolType.Pan);
|
|
|
|
+ pdfViewerControl.SetIsVisibleCustomMouse(false);
|
|
pdfViewerControl.SetIsShowStampMouse(false);
|
|
pdfViewerControl.SetIsShowStampMouse(false);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -764,7 +770,7 @@ namespace Compdfkit_Tools.PDFControl
|
|
{
|
|
{
|
|
this.pdfViewerControl.SetToolType(ToolType.Pan);
|
|
this.pdfViewerControl.SetToolType(ToolType.Pan);
|
|
pdfViewerControl.SetIsShowStampMouse(false);
|
|
pdfViewerControl.SetIsShowStampMouse(false);
|
|
- //ClearPanel();
|
|
|
|
|
|
+ ClearPanel();
|
|
}
|
|
}
|
|
|
|
|
|
private void CPDFAnnotationControl_PropertyChanged(object sender, CPDFAnnotationData e)
|
|
private void CPDFAnnotationControl_PropertyChanged(object sender, CPDFAnnotationData e)
|