<< Return to Main Index

< Return to Class Index

CGXFormulaSheet::SetFormatRowCol

BOOL SetFormatRowCol(ROWCOL nRow, ROWCOL nCol, unsigned format, unsigned places);

nRow

Specifies the grid row of the cell.

nCol

Specifies the grid column of the cell.

format

Specifies the formatting. See CGXStyle::SetFormat for a list of formats.

places

Specifies the number of places, e.g. fractional digits for the scientific formatting.

Return Value

TRUE if operation was successful; FALSE otherwise.

Remarks

Changes the numeric formatting of a cell. The formatting will be stored into a style object that is attached to the cell in the formula engine.

See CGXStyle::SetFormat for a list of supported formats.

See Also

CGXStyle::SetFormat

CGXFormulaSheet

Class Overview | Class Members