MTM_QueryMinRowHeight

MTM_QueryMinRowHeight

Messages ›› MTM_Query... ›› MTM_QueryMin... ››
Parent Previous Next

MTM_QueryMinRowHeight

This message is sent when M!Table needs the min. height of a row ( in pixels ).
The min. 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 min. height. Otherwise no min. height is used.

See also
MTM_QueryMaxRowHeight
MTblCalcRowHeight
Automatic row sizing
Printing

Created with the Personal Edition of HelpNDoc: Generate Kindle eBooks with ease