Spread 8.0 Documentation
SSGetRowHeight, SSSetRowHeight Functions
Support Options
DLL Reference > DLL Functions > SSGetRowHeight, SSSetRowHeight Functions

Glossary Item Box

SSGetRowHeight, SSSetRowHeight Functions


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Set or return the height of a specified row.

Syntax

C

BOOL SSGetRowHeight(HWND hWnd, SS_COORD Row, LPDOUBLE lpdfRowHeight);

BOOL SSSetRowHeight(HWND hWnd, SS_COORD Row, double dfHeight);

C++

BOOL TSpread::GetRowHeight(SS_COORD Row, LPDOUBLE lpHeight);

BOOL TSpread::SetRowHeight(SS_COORD Row, double Height);

Parameters

The SSGetRowHeight function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpread control
Row Row number
lpdfRowHeight Row height

The SSSetRowHeight function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpread control
Row Row number
(Value can be SS_ALLROWS.)
dfHeight Row height

Remarks

This function is applied to the current sheet setting unless you first call the SSSetSheet function to specify the sheet for which you are calling this function.

The unit of measurement for the row height is based on the value of the SSSetUnitType function. The default unit of measurement is based on the row font height.

Note: The value set or returned by the SSGetRowHeight or SSSetRowHeight function does not include the width of the adjacent grid line.

Return Value

SSGetRowHeight: Height of specified row.
SSSetRowHeight: TRUE if the function completes successfully; FALSE otherwise.

See Also

Resizing a Cell to Fit the Tallest Data
Resizing Columns and Rows to Fit Text
Setting the Height of Rows

SSGetColWidth, SSGetRowHeightInPixels, SSGetUnitType, SSSetColWidth, SSSetRowHeightInPixels, SSSetSheet, SSSetUnitType functions

ActiveX Correspondence

RowHeight property

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.