SSGetValueLen Function
Applies To
fpSpread DLL control
Description
Returns the length of unformatted text in a cell.
Syntax
int SSGetValueLen(HWND hWnd, SS_COORD Col, SS_COORD Row);
int TSpread::GetValueLen(SS_COORD Col, SS_COORD Row);
Parameters
The following parameters are available:
Parameter | Description |
hWnd | Window handle of the fpSpread control |
Col | Column number of cell |
Row | Row number of cell |
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 following cell types can contain unformatted text: button, check box, combo box, currency, date, number, percent, PIC, and time.
Use the SSSetValue function to add unformatted data to a cell.
Refer to Formatted and Unformatted Data for more information about formatted versus unformatted data.
Return Value
Length of value if successful; zero otherwise.
See Also
SSGetValue, SSSetSheet, SSSetValue functions