Customize annotation selector box

Hi, I have a small custom annotation as shown. That is 16 x 16 px. The screenshot shows it twice with one instance selected immediately after the annotation is placed on the document.

When the annotation is placed, the annotation is selected with the resizer with the 4 corners is very big and it blends in with this annotation image.

Is it possible to customize this selector when an annotation is selected or placed?

Is it possible to place the annotation with no selector at all?


Thanks


1 Reply

SK Sinthiya Kalimuthu Syncfusion Team September 2, 2022 02:30 PM UTC

Hi Dennis,


You can customize the annotation selector box in your custom annotation using the PdfViewerAnnotationSelectorSettings API. We have shared the sample for your reference. Kindly refer to it and revert to us if you have any concerns about it.


Sample - https://www.syncfusion.com/downloads/support/directtrac/general/ze/SERVER_Sample_CustomSelector1547891766.zip


Regards,

Sinthiya K


Loader.
Up arrow icon