Spread 8.0 Documentation
DLL
Support Options

Glossary Item Box

DLL


To create a static text cell

  1. Call the SSSetTypeStaticText function and set the parameters as follows:
    1. Set the TextStyle parameter to specify the horizontal and vertical alignment in the cell.
    2. Set the TextStyle parameter to specify how text is oriented in the cell.
    3. Set the TextStyle parameter to SS_TEXT_WORDWRAP to have text wrap in the cell if the text string is wider than the cell width.
    4. Set the TextStyle parameter to SS_TEXT_PREFIX to underline a character in the text when you type an ampersand (&) in front of the character you want to underline.
    5. Set the TextStyle parameter to SS_TEXT_WORDWRAP to have text wrap in the cell if the text string is wider than the cell width.
  2. Call the SSSetCellType or SSSetCellTypeRange function and set the CellType parameter to SS_TYPE_STATICTEXT.
  3. Call the SSSetValue function to provide text for the cell.
  4. Call the SSSetShadowColor function and set the parameters as follows:
    1. Set the ShadowText parameter to specify the color of the text in the cell.
    2. Set the ShadowColor parameter to specify the background color of the cell.
Copyright © GrapeCity, inc. All rights reserved.