2.2.6.17.122 GridControl::SetRowHeight


Description

Sets the height of the specified row in twips.

Syntax

void SetRowHeight( long Row, int nHeight )

Parameters

Row
[input] 0-offset row index
nHeight
[input] row height, in twips

Return

Examples

Example codes can be pasted to doExample() function in GridControl's examples to run

		int nRow1, nRow2;
		m_GridCtrl.GetRowRange(nRow1, nRow2);
		for(int ii = nRow1; ii <= nRow2; ii++)
		{
			int height = m_GridCtrl.GetRowHeight(ii);
			m_GridCtrl.SetRowHeight(ii, height * 1.5);
		}

Remark

See Also

GridControl::GetRowHeight

Header to Included

GridControl.h