VintaSoft PDF .NET Plug-in Discussions
Questions, comments and suggestions concerning VintaSoft PDF .NET Plug-in.
Board index < VintaSoft Imaging < VintaSoft PDF .NET Plug-in Discussions
public class MyPdfAnnotationTool : PdfAnnotationTool
{
public MyPdfAnnotationTool(PdfJsApp jsApp, bool canUseEditMode)
: base(jsApp, canUseEditMode)
{
}
public override bool CanInteractWith(PdfAnnotationView view)
{
if (InteractionMode == PdfAnnotationInteractionMode.Edit && view.Annotation is PdfPopupAnnotation)
return false;
return base.CanInteractWith(view);
}
}
Best regards, Alexander
However I am using the annotation tool FindAnnotationView method to select the annotation on a mouse event.Please override the PdfAnnotationTool.FindInteractiveObject method and implement logic similar to the logic in PdfAnnotationTool.CanInteractWith method.