WebViewer Version: 8.6.0
Hey guys,
I’m trying to add padding to the selection box of Signature annotations. Does anyone have an idea how to do that?
I’m calling the CreateSignatureTool method setSignature(base64Image) and add the signature to the document. After adding the signature, I select it. There is no padding around the signature, so it goes straigh to the selection border. I’m looking for a way to add some padding to it. I already tried to edit the SelectionModel.prototype.drawSelectionOutline function but it does not change the bounding box, only the visual representation of the border. I also tried to create a new Core.Math.Rect with adjusted dimensions from the original Rect of the annotation but calling annotation.setRect(newRect) didn’t help either.
Greetings,
Dennis