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

Glossary Item Box

SSLogUnitsToColWidth Function


See Also    ActiveX    Example

Applies To

fpSpread DLL control

Description

Converts screen coordinates to column-width coordinates.

Syntax

C

void SSLogUnitsToColWidth(HWND hWnd, int dUnits, LPDOUBLE lpdfColWidth);

C++

void TSpread::LogUnitsToColWidth(short dUnits, LPDOUBLE lpWidth);

Parameters

The following parameters are available:

Parameter Description
hWnd Window handle of the fpSpread control
dUnits Screen coordinates
lpdfColWidth Pointer to variable that receives column width

Remarks

The unit of measurement for the column width is based on the value of the SSSetUnitType function. The default unit of measurement is based on the system font.

See Also

SSColWidthToLogUnits, SSLogUnitsToRowHeight, SSRowHeightToLogUnits functions

ActiveX Correspondence

TwipsToColWidth method

Copyright © GrapeCity, inc. All rights reserved.