How to programmatically hide bookmarks, xml nodes and editable regions?
How do I programmatically hide bookmark carets, XML nodes and the caret and background colour for editable regions in a protected document?
How do I programmatically hide bookmark carets, XML nodes and the caret and background colour for editable regions in a protected document?
Hi
I presume you are referring to the highlighting options within word when having an XML schema attached.
' Shows the XMLMarkup in a document and other view properties
ActiveWindow.View.ShowXMLMarkup = wdToggle ActiveWindow.View.ShowPicturePlaceHolders = False
ActiveWindow.View.ShowFieldCodes = False
ActiveWindow.ShowBookmarks = False
ActiveWindow.FieldShading = wdFieldShadingWhenSelected
ActiveWindow.ShowHighlight = False
Hope this helps
I found this as well, this.ActiveWindow.View.ShadeEditableRanges = 0; and now I've solved all my problems. You got me on the right track!