Spread 8.0 Documentation
Example
Support Options

Glossary Item Box

Example


The following example creates a scientific cell type.

C++

SS_CELLTYPE CellType;

// Set sheet count

spr->SetSheetCount(2);

// Set sheet to apply functions to

spr->SetSheet(1);

// Set scientific celltype

spr->SetTypeScientific(&CellType,SSS_ALIGN_RIGHT, 5, -1000, 1000, ".");

spr->SetCellType(1, 1, &CellType);

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.