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");
specifies the cursor type of resizer
Specifies the location of the resizer.
Specifies the shape of the resizer.
string
Specifies the selection border color.
number
Specifies the thickness of the border of selection.
number[]
Specifies the border dash array of the selection.