PrintInfo Reference > PrintInfo Properties > VariableRowHeight Property (PrintInfo) |
This property sets or returns a Boolean that determines whether the height of individual rows can vary to accommodate cell text that spans multiple lines.
PrintInfo.VariableRowHeight= boolean
Read/Write at run time and design time.
If True, then the height of each printed row will be adjusted to accommodate cell contents that do not fit within the allotted column width, provided that the WrapText property of the corresponding Column object is set to True.
If False (the default), then each printed row occupies a single line of text, and cell contents that do not fit within the allotted column width are truncated in the printed output.
Note
If the WrapText property of a Column is False, then its printed contents will not span multiple lines, even if VariableRowHeight is True.