Microsoft KB Archive/48519

From BetaArchive Wiki

Word: PostScript to Fill Cell or Row with Gray Background

PSS ID Number: Q48519 Article last modified on 03-07-1997

====================================================================== 4.00 MACINTOSH kbusage

The information in this article applies to:
- Microsoft Word for the Macintosh, version 4.0

SUMMARY

To fill a cell with a gray background in a table in Microsoft Word for the Macintosh version 4.0, type the following PostScript commands in the cell:

.cell. .9 setgray wp$box fill

To fill a row with a grey background in a table in Word 4.0, type the following PostScript commands in the cell:

.row. .9 setgray wp$box fill

Format the above text in the PostScript style by using the following steps:

  1. Select the text, and hold down the SHIFT key while choosing All Styles from the Format menu.
  2. Scroll down to the PostScript style, then select it.
  3. Choose the OK button.

To change the level of shading, change the number listed before the “setgray” command from .9 to the desired level, where 1 is white, and 0 (zero) is black.

KBCategory: kbusage KBSubCategory: kbtable Additional reference words: 4.00 shade macword macword5 ====================================================================== ============================================================================= Copyright Microsoft Corporation 1997.