Writes a reference to the specified brush. The brush is registered within the internal hashtable for subsequent serialization.
Namespace: MindFusion.Diagramming
Package: XmlPersistContext.js
JavaScript Copy Code |
---|
function writeBrush (brush, elementName, parentElement) |
Object. The Brush object that should be saved in current XML document.
String. A string specifying the name of the new element.
Element. The parent DOM Element object.
Element. The newly created DOM Element object.
NetDiagram Programmer's Guide | © 2023 MindFusion |