Click or drag to resize

mxObjectCodecBeforeEncode Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Hook for subclassers to pre-process the object before encoding. This returns the input object. The return value of this function is used in encode to perform the default encoding into the given node.

Namespace:  imbSCI.Graph.MXGraph.io
Assembly:  imbSCI.Graph (in imbSCI.Graph.dll) Version: 0.3.70.
Syntax
C#
public virtual Object BeforeEncode(
	mxCodec enc,
	Object obj,
	XmlNode node
)
Request Example View Source

Parameters

enc
Type: imbSCI.Graph.MXGraph.iomxCodec
Codec that controls the encoding process.
obj
Type: SystemObject
Object to be encoded.
node
Type: System.XmlXmlNode
XML node to encode the object into.

Return Value

Type: Object
Returns the object to be encoded by the default encoding.
See Also