<< Return to Main Index

< Return to Class Index

CGXFormulaSheet::GetStyleRowCol

virtual BOOL GetStyleRowCol(ROWCOL nRow, ROWCOL nCol, CGXStyle& style, GXModifyType mt, int nType = 0);

nRow

Specifies the row id.

nCol

Specifies the column id.

style

A reference to a style-object to be stored.

mt

Modify-Type: gxOverride, gxApplyNew, gxCopy or gxRemove (see CGXStyle class).

nType

Specifies the type of information to be retrieved:

Return Value

TRUE if style could be stored. FALSE if operation failed.

Remarks

Looks up a style in the formula engine. If called with nType equal to GX_VALUE_EXPRESSION the formula expression (if available) will be assigned to the style value. Otherwise the evaluated cell value (the result) will be assigned to the cell value.

See Also

CGXGridCore::GetStyleRowCol CGXFormulaSheet::GetExpressionRowCol CGXFormulaSheet::GetTextRowCol

CGXFormulaSheet

Class Overview | Class Members