Is it possible to not show the markup palette when comparing files through the API or send a command to close it once it appears?
I have enabled 'Disable Auto Open Palettes' in the registry but it still comes up.
Any help will be appreciated
Regards
Alex
Thank you for your question.
You can use the IAdDWFViewer2.AutoOpenPalettesDisabled(LONG value) to hide markup palette.
param value:
Suppress_None = 0, // don't suppress any
Suppress_All = 1,
Suppress_Markups = 2,
Suppress_Markup_Properties = 4,
Suppress_Object_Properties = 8,
Suppress_Sheet_Properties = 16,
Suppress_CrossSections = 32,
Suppress_TextPane = 64,
Suppress_Views = 128,
Suppress_Model = 256,
Suppress_GridData = 512,
Suppress_GridData_Object = 1024,
Any further questions please let me know.
I've just been testing this and it doesn't seem to work when comparing markups.
I set the value to 2 as you described and I can see that value goes into the registry. The markup palette does not show up when viewing a drawing, but when comparing it does.
I tried setting it to 1 to disable all palettes but it still shows up when comparing.
Instead of trying to disable opening it, is there a way of closing it after it appears?
Regards
Alex