Forum '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

Login

Hide hidden annotations in Edit mode



Hide hidden annotations in Edit mode

Post by IntegraMike »

Is there a way to stop the PdfAnnotationTool from showing all annotations while in Edit mode? I'm looking to have edit mode only display annotations that are not hidden, but I don't see a property I can set, etc.

Thanks in advance!


Re: Hide hidden annotations in Edit mode

Post by Alex »

Hello Mike,

For solving your task you need to:
  • Create MyPdfAnnotationTool class, which is derived from PdfAnnotationTool class.
  • Override logic of GetAnnotationVisibility method in MyPdfAnnotationTool class.
  • Use MyPdfAnnotationTool class instead of PdfAnnotationTool class.
You can see topic with similar problem here: https://forums.vintasoft.com/viewto ... =20&t=5425

Best regards, Alexander


Re: Hide hidden annotations in Edit mode

Post by IntegraMike »

Thanks, that got me what I needed!


Page 1 from 1: 1