SSLogUnitsToColWidth Function
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