|
|
|
|
|
MaxLeafPerRow (Property) In french: MaxFeuilleParLigne
The MaxLeafPerRow property is used to get and change the maximum number of elements in a row in an Organization Chart control. When this maximum number is reached for the last level of the hierarchy, the elements are presented on several rows (vertical organization chart) or on several columns (horizontal organization chart). Remark: The maximum number of leaves per row for an Organization Chart control is defined in the "General" tab of the control description window ("Move over several rows from"). IF CBOX_InColumn = True THEN ORG_Main.MaxLeafPerRow = 1 ELSE ORG_Main.MaxLeafPerRow = 0 // no limit END
Syntax
Finding the maximum number of leaves Hide the details
<Result> = <Organization Chart control>.MaxLeafPerRow
<Result>: Integer Maximum number of leaves per row. This value is set to 3 by default. There is no limit if this value corresponds to 0. If this value corresponds to 1, all the leaves are displayed below each other instead of being displayed side by side (vertical organization chart). <Organization Chart control>: Control name Name of Organization Chart control to use.
Modifying the maximum number of leaves Hide the details
<Organization Chart control>.MaxLeafPerRow = <New value>
<Organization Chart control>: Control name Name of Organization Chart control to use. <New value>: Integer Maximum number of leaves per row. This value is set to 3 by default. There is no limit if this value corresponds to 0. If this value corresponds to 1, all the leaves are displayed below each other instead of being displayed side by side (vertical organization chart).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|