Search
XmlPersistContext.writeBrush Method
See Also
 






Writes a reference to the specified brush. The brush is registered within the internal hashtable for subsequent serialization.

Namespace: MindFusion.Diagramming
File: XmlPersistContext.js

 Syntax

JavaScript  Copy Code

function writeBrush (brush, elementName, parentElement)

 Parameters

brush

Object. The Brush object that should be saved in current XML document.

elementName

String. A string specifying the name of the new element.

parentElement

Element. The parent DOM Element object.

 Return Value

Element. The newly created DOM Element object.

 See Also