Having trouble getting help?
Contact Support
Contact Support
Annotation selectors in EJ2 TypeScript Pdfviewer control
6 Jul 20241 minute to read
To customize the annotation selector in Syncfusion PDF Viewer, you can use the annotationSelectorSettings property of the PdfViewer control.
Here is an example of how you can customize the selector of the shape annotation:
<button id="annotationSelector">annotationSelector</button>
document.getElementById('annotationSelector').addEventListener('click', () => {
viewer.rectangleSettings.annotationSelectorSettings.resizerShape = 'Circle';
viewer.annotationModule.editAnnotation(viewer.annotationCollection[0]);
});
Find the sample how to customize the annotation selector