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

Glossary Item Box

SSGetDataCnt Function


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Returns the column and row numbers of the last column and row that contain data.

Syntax

C

BOOL SSGetDataCnt(HWND hWnd, LPSS_COORD lpColCnt, LPSS_COORD lpRowCnt);

C++

BOOL TSpread::GetDataCnt(LPSS_COORD lpColCnt, LPSS_COORD lpRowCnt);

Parameters

The following parameters are available:

Parameter Description
hWnd Window handle of the fpSpread control
lpColCnt Pointer to variable that receives column number of last column that contains data
lpRowCnt Pointer to variable that receives row number of last row that contains data

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 user or the application can set the data in the sheet.

Return Value

TRUE if the function completes successfully; FALSE otherwise.

See Also

SSSetSheet function

ActiveX Correspondence

DataColCnt, DataRowCnt properties

Copyright © GrapeCity, inc. All rights reserved.