Multiline - property of the PmfTableArea object
Description:
The property returns or sets the displaying of multirow text in all cells of the table area.
If this property is not set, then it takes (inherits) its value from the same
Multiline property of the parent object.
Syntax:
Variant Multiline
Values:
0 (default) - Displaying the multi-row text is disabled.
1 - Displaying the multi-row text is enabled.
inherit - The property takes its value from the parent object
Note:
Property access
for read and write.
This property is also functional in
Web panels.
To display text on multiple rows, the cell text must contain a new row character (
"\n") at the desired location.
Enabling the multi-row text preserves horizontal text alignment in the cells (see
HorzAlign).
Example1:
JavaScriptSelect and copy to clipboard
oTableArea.Multiline = 1;
// Writing into the property
var nMultiline = oTableArea.Multiline;
// Reading from the property
oTableArea.Multiline = "inherit";
// The property takes its value from the parent object