Product: WebViewer & Angular
Product Version: 8.3.1
Please give a brief summary of your issue:
Two points :
- Cannot focus a SignatureWidgetAnnotation or TextWidgetAnnotation
- Cannot set a background to a SignatureWidgetAnnotation
Please describe your issue and provide steps to reproduce it:
- Cannot focus a SignatureWidgetAnnotation or TextWidgetAnnotation
base on this sample : PDFTron Systems Inc. | Documentation
I try different ways :
- annotationManager.addAnnotation(widgetAnnot, { autoFocus: true });
- annotationManager.selectAnnotations([widgetAnnot]);
- annotationManager.selectAnnotation(widgetAnnot);
- this.wvInstance.UI.focusNote(widgetAnnot.Id);
nothing works, How can I focus my field after creation (by code)
- Cannot set a background to a SignatureWidgetAnnotation
I can set a background color to TextWidgetAnnotation :
using :
widgetAnnot.backgroundColor.A = 1;
widgetAnnot.backgroundColor.B = 226;
widgetAnnot.backgroundColor.G = 226;
widgetAnnot.backgroundColor.R = 226;
When I do the same code with SignatureWidgetAnnotation, the background stay transparent (after apply fields, blue if fields editor mode).
How can I chose my background color ?
Please provide a link to a minimal sample where the issue is reproducible:
none
Regards
Nicolas