Some test text!
Web / FAQ / How to use annotation selection styling from before version 7.3
The styling of the annotation selection and control points have been updated in version 7.3. The main updates are:
#418cfc
to #3183c8
If you want to use the selection style from version 7.2 and earlier, you can update the following properties:
WebViewer(...)
.then(function(instance) {
const { Annotations } = instance;
// selection model outline adjustment
Annotations.SelectionModel.useDashedLine = true;
Annotations.SelectionModel.selectionOutlineThickness = 2;
Annotations.SelectionModel.defaultSelectionOutlineColor = new Annotations.Color(65, 140, 252);
// control handle adjustment
Annotations.ControlHandle.handleWidth = 12;
Annotations.ControlHandle.handleHeight = 12;
Annotations.ControlHandle.color = new Annotations.Color(255, 255, 255);;
Annotations.ControlHandle.outlineColor = new Annotations.Color(65, 140, 252);
// do not show extra padding when selected annotation is too small
Annotations.SelectionModel.selectionOutlineExtraPadding = 0;
});
Trial setup questions? Ask experts on Discord
Need other help? Contact Support
Pricing or product questions? Contact Sales