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)
Syntax
public bool SetXMLData(
	string oKey,
	string oXmlData
)

Parameters

oKey
Type: SystemString
CTEngineLib.ctPropertyScope.ctPropertyScopeCustom1, ...2, ...3 or ...4's integer value as string. Eg.
var oKey = "" + (int)CTEngineLib.ctPropertyScope.ctPropertyScopeCustom1; // == "128"
oXmlData
Type: SystemString
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

Type: Boolean
Always true
Availability

CUSTOMTOOLS 2015 SP2


See Also