Click or drag to resize

CTInterfaceSetXMLData Method

When OnSaveToStoragePre is invoked (during document save-operation), this function can be used to manipulate CustomScope data in XML. Data that CUSTOMTOOLS was about to store can be accessed with GetXMLData using the same key.

Namespace: ATR.CT.CTInterface
Assembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntax
public bool SetXMLData(
	string oKey,
	string oXmlData
)

Parameters

oKey  String
CTEngineLib.ctPropertyScope.ctPropertyScopeCustom1, ...2, ...3 or ...4's integer value as string. Eg.
C#
var oKey = "" + (int)CTEngineLib.ctPropertyScope.ctPropertyScopeCustom1; // == "128"
oXmlData  String
Data to store. The XMl must be of valid format for CUSTOMTOOLS to handle. The XML format is not guaranteed to stay same in the future.

Return Value

Boolean
Always true
Revision History
DateVersionDescription
-2015 SP2First Release
See Also