2.1.50 Tree


Description

Syntax

VB: Property Get/Let Tree(Name As ByVal String ) As TreeNode
C++: TreeNode Tree(LPCSTR Name )
C#: TreeNode Tree(string Name )

Parameters

Name
--

Remark

Examples

Python

import OriginExt as O
app = O.Application(); app.Visible = app.MAINWND_SHOW
pageName = app.CreatePage(app.OPT_WORKSHEET)
tree = app.GetEmptyTree()
tree.PutValue("testNumber", 123)
tree.PutValue("testString", "Hello")
print(tree.GetValue("testNumber"))
print(tree.GetValue("testString"))
app.PutTree(pageName, tree)
treeOut = app.GetTree(pageName)
print(treeOut.GetValue("testNumber"))
print(treeOut.GetValue("testString"))

Version Information

8.0SR2

See Also