Spread 8.0 Documentation
SSRowHeightToLogUnits Function
Support Options
DLL Reference > DLL Functions > SSRowHeightToLogUnits Function

Glossary Item Box

SSRowHeightToLogUnits Function


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Converts row-height coordinates to screen coordinates for a specified row.

Syntax

C

int SSRowHeightToLogUnits(HWND hWnd, SS_COORD Row, double dfRowHeight);

C++

short TSpread::RowHeightToLogUnits(SS_COORD Row, double dfRowHeight);

Parameters

The following parameters are available:

Parameter Description
hWnd Window handle of the fpSpread control
Row Row number
dfRowHeight 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.

Return Value

Row height converted to screen coordinates.

See Also

SSColWidthToLogUnits, SSLogUnitsToColWidth, SSLogUnitsToRowHeight, SSSetSheet functions

ActiveX Correspondence

RowHeightToTwips method

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