AnnotationSelectorSettings
23 Sep 20251 minute to read
The AnnotationSelectorSettings module is used to provide the properties to annotation selectors.
<div id="pdfViewer" style="height: 100%;width: 100%;"></div> let viewer: PdfViewer = new PdfViewer();
// Change the annotation selector settings.
viewer.annotationSelectorSettings = {
selectionBorderColor: '',
resizerBorderColor: 'Circle',
resizerFillColor: '#4070FF',
resizerSize: 8,
selectionBorderThickness: 1,
resizerShape: 'Square',
selectorLineDashArray: [],
resizerLocation: AnnotationResizerLocation.Corners | AnnotationResizerLocation.Edges,
resizerCursorType: null
};
viewer.appendTo("#pdfViewer");Properties
resizerBorderColor string
Specifies the border color of the resizer.
resizerCursorType CursorType
specifies the cursor type of resizer
resizerFillColor string
Specifies the fill color of the resizer.
resizerLocation AnnotationResizerLocation
Specifies the location of the resizer.
resizerShape AnnotationResizerShape
Specifies the shape of the resizer.
resizerSize number
Specifies the size of the resizer.
selectionBorderColor string
Specifies the selection border color.
selectionBorderThickness number
Specifies the thickness of the border of selection.
selectorLineDashArray number[]
Specifies the border dash array of the selection.