Spread 8.0 Documentation
DLL
Support Options

Glossary Item Box

DLL


To resize a cell based on the widest data in that column

  1. Call the SSGetMaxTextColWidth function.
  2. Call the SSSetColWidth or SSSetColWidthInPixels function and set the parameters as follows:
    1. Set the Col parameter to the number of the column you want to resize.
    2. Set the dfWidth (dWidth for SSSetColWidthInPixels) parameter to the text width returned in step 1.
© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.