Spread 8.0 Documentation
SSGetRowHeightInPixels, SSSetRowHeightInPixels Functions
Support Options
DLL Reference > DLL Functions > SSGetRowHeightInPixels, SSSetRowHeightInPixels Functions

Glossary Item Box

SSGetRowHeightInPixels, SSSetRowHeightInPixels Functions


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Set or return the height of a specified row in pixels.

Syntax

C

BOOL SSGetRowHeightInPixels(HWND hWnd, SS_COORD Row, LPINT lpdHeight);

BOOL SSSetRowHeightInPixels(HWND hWnd, SS_COORD Row, int dHeight);

C++

BOOL TSpread::GetRowHeightInPixels(SS_COORD Row, LPINT lpdHeightPixels);

BOOL TSpread::SetRowHeightInPixels(SS_COORD Row, int dHeight);

Parameters

The SSGetRowHeightInPixels function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpread control
Row Row number
lpdHeight Row height in pixels

The SSSetRowHeightInPixels function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpread control
Row Row number
dHeight Row height in pixels

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. These functions let you set or return the row height using pixels as the unit of measurement.

Return Value

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

SSGetColWidthInPixels, SSGetRowHeight, SSGetUnitType, SSSetColWidthInPixels, SSSetRowHeight, SSSetSheet, SSSetUnitType functions

ActiveX Correspondence

RowHeight property

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