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

Disable adding Comments to PdfFreeTextAnnotations



Disable adding Comments to PdfFreeTextAnnotations

Post by IntegraMike »

I'm looking for a clean way to disable adding comments to PdfFreeTextAnnotations. I want to be able to open an annotation's comments via double click, but currently this also allows me to open them for PdfFreeTextAnnotations. As far as I know FreeText annotations are not supposed to support commenting in PDFs and we have some concerns about document corruption.

Is there something I can override to get this behavior? Dealing with the Double Click event is giving me only limited success as the comment is created before I get into the event handler.

Thanks!


Re: Disable adding Comments to PdfFreeTextAnnotations

Post by IntegraMike »

I was able to resolve this by checking the annotation type in the factory and returning null if it was a PdfFreeTextAnnotation. This might be something to consider adding to your demo app.


Page 1 from 1: 1