Hi I asume you use the Daeja viewer for that. You can set a daeja paramter in your ICN desktop configuration.
annotationHideButtons = angle,arrow,circle,freehand,highlight,highlightPoly,line,note,openPoly,oval,poly,rectangle,redact,redactPoly,restore,ruler,save,select,show,solidText,square,stamp,text,Hyperlink,Watermark

If you hide all buttons the toolbar disappear.

------------------------------
Benjamin Just
------------------------------
Original Message:
Sent: Mon October 30, 2023 06:08 AM
From: Anuram Chevala
Subject: Disable Annotation Toolbar Programatically
I have written an action where I merge the contents of the selected TIFF files and open it from the Viewer. Now, I have to disable the annotation toolbar programmatically while opening the document from Viewer.
Version of ICN : 3.0.11
Viewer: IBM Daeja Viewone
------------------------------
Anuram Chevala
------------------------------