MTM_QueryMaxRowHeight

MTM_QueryMaxRowHeight

Messages ›› MTM_Query... ›› MTM_QueryMax... ››
Parent Previous Next

MTM_QueryMaxRowHeight

This message is sent when M!Table needs the max. height of a row ( in pixels ).
The max. height is needed when
- MTblAutoSizeRows is called
- MTblPrint is called and fcMTblPrintParams.FitCellSize is TRUE

To calculate the row height in pixels for a given number of lines per row, you can use MTblCalcRowHeight.

Parameters
wParam
Number of the row
lParam
The row's best height M!Table determined

Return
If > 0, M!Table uses this value as max. height. Otherwise no height limitation is used.

See also
MTM_QueryMinRowHeight
MTblCalcRowHeight
Automatic row sizing
Printing

Created with the Personal Edition of HelpNDoc: Easily create EBooks