I want to customize the toolbars of the Autocad DWF Viewer control, i.e. hide unwanted tools/toolbar. Is it possible?
Also the markup tool is disabled, how do I enable it?
Thank you for your question.
You can hide tool button by setting related command's visible property false. See
var Cmds = ADViewer.ECompositeViewer.Commands;
Cmds('PRINT').Visible = false; //Turn off visibility print
You get can more details from ADR API Documentation.
If the markup tool is disabled for an opening dwf/x file, it means that tool is not available for this file. It's not valuable to enable it manually.
List markup/measure commands here, hope that helps for you.
Any further question please let me know.
Access a broad range of knowledge to help get the most out of your products and services.