Thank you on answer, but it didn’t work for me, unfortunately. With this approach the dimensions of the annotation must preserve the aspect ratio of appearance, and that is not acceptable to me.
What I’ve used before is Annotations.TextWidgetAnnotation.prototype.createInnerElement, but with this approach input field doesn’t behave as expected. Any ideas?
The next steps would be adjusting the innerElement, or you could try grouping an image annotation on the side. When you modify the innerElement, what do you mean by “input field doesn’t behave as expected”?
Web Development Support Engineer
PDFTron Systems, Inc.