You can programmatically modify the properties of the widget annotation and the associated form field just before it is created via the form creator UI.
The widget annotation that is about to be created.
The original form field that is associated with the widget annotation.
Set the opacity of all widget annotations.
NutrientViewer.load({ onWidgetAnnotationCreationStart: (annotation, formField) => { return { annotation: annotation.set('opacity', 0.7) }; } // ...}); Copy
NutrientViewer.load({ onWidgetAnnotationCreationStart: (annotation, formField) => { return { annotation: annotation.set('opacity', 0.7) }; } // ...});
You can programmatically modify the properties of the widget annotation and the associated form field just before it is created via the form creator UI.