Multiline - property of the PmfTableArea object
Description:
The property returns or sets the displaying of multiline text in all cells of the table area.
If this property is not set, then it takes (inherits) its value from the
PmfTable.Multiline property.
Syntax:
Variant Multiline
Values:
0 - Displaying the multiline text is disabled.
1 - Displaying the multiline text is enabled.
inherit (default) - 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 'new line' (
"\n") at the desired location.
Enable the multiline 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