Hello huzeifajahangir,
You can set default tool by following the guide here: Interacting-with-tools | Apryse Documentation
For example:
instance.UI.setToolMode('AnnotationCreateSignature');
As for disabling resize of the Signature Annotation, you can try the following code snippet:
annotationManager.addEventListener('annotationChanged', (annotations, action) => {
if (action === 'add') {;
annotations.forEach(annotation => {
if(annotation.Subject === 'Signature') {
annotation.NoResize = true;
annotationManager.updateAnnotation(annotation);
annotationManager.redrawAnnotation(annotation);
}
});
}
});