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

Glossary Item Box

SSLogUnitsToRowHeight Function


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Converts screen coordinates to row-height coordinates.

Syntax

C

void SSLogUnitsToRowHeight(HWND hWnd, SS_COORD Row, int dUnits, LPDOUBLE lpdfRowHeight);

C++

void TSpread::LogUnitsToRowHeight(SS_COORD Row, short dUnits, LPDOUBLE lpHeight);

Parameters

The following parameters are available:

Parameter Description
hWnd Window handle of the fpSpread control
Row Row number
dUnits Screen coordinates
lpdfRowHeight Pointer to variable that receives row height

Remarks

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.

See Also

SSColWidthToLogUnits, SSLogUnitsToColWidth, SSRowHeightToLogUnits functions

ActiveX Correspondence

TwipsToRowHeight method

Copyright © GrapeCity, inc. All rights reserved.