Spread 8.0 Documentation
CFGetDoubleParam Method
Support Options
ActiveX Reference > ActiveX Methods > CFGetDoubleParam Method

Glossary Item Box

CFGetDoubleParam Method


See Also    Example

Applies To

fpSpread control

Description

Returns a custom function's parameter as a double-precision, floating-point value.

Syntax

C++

double CSpreadSheet::CFGetDoubleParam (short Param);

Visual Basic

fpSpread.CFGetDoubleParam(ByVal Param As Integer) As Double

Parameters

The following parameters are available:

Parameter Description
Param Index number of the parameter
(The index of the first parameter is 1.)

Remarks

Borland users must use the CFGetDoubleParamExt method. This method can only be used inside the CustomFunction event handler.

You must use the CFGetParamInfo method to check the parameter status and type before calling the CFGetDoubleParam method.

This method is called for the current sheet setting unless you first set the Sheet property to specify the sheet with which you want to work.

Return Type

Value of the specified parameter

See Also

Creating and Using Custom Functions

Sheet property

CustomFunction event

AddCustomFunction, AddCustomFunctionExt, CFGetCellParam, CFGetDoubleParamExt, CFGetLongParam, CFGetParamInfo, CFGetRangeParam, CFGetStringParam, CFSetResult, EnumCustomFunction, GetCustomFunction, RemoveCustomFunction methods

Copyright © GrapeCity, inc. All rights reserved.