Document.UserCustomUI Property (Visio)
Gets or sets the Ribbon XML string that is passed to the document to customize the Quick Access toolbar or the Ribbon. Read/write.
Version Information
Version Added: Visio 2010
Syntax
expression .UserCustomUI
expression A variable that represents a Document object.
Remarks
When you set the UserCustomUI property value, Microsoft Visio does not validate the Ribbon XML. Instead, the XML is persisted in the document file and validated the next time that the document is loaded.