Click or drag to resize

TreeDrawing Constructor (ITree, Int32)

Constructs a drawing of the given tree. T

Namespace:  KansasStateUniversity.TreeViewer2
Assembly:  KansasStateUniversity.TreeViewer2 (in KansasStateUniversity.TreeViewer2.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public TreeDrawing(
	ITree tree,
	int maxHeight
)

Parameters

tree
Type: KansasStateUniversity.TreeViewer2ITree
The tree to be drawn.
maxHeight
Type: SystemInt32
The maximum height to display. If this value is negative, no nodes will be displayed.
Remarks
he foreground of the drawing is black. The contents of nodes are obtained using the ToString() method (ToString). If the root of the tree is null, the string "null" is used.
See Also