Shadow, Shadow()

Syntax

Shadow [On]

Shadow()

Remarks

On the Macintosh, the Shadow statement adds or removes the shadow character format for the current selection, or controls shadow formatting for characters to be inserted at the insertion point.

Argument

Explanation

On

Specifies whether to add or remove the shadow format:

1 Formats the selection with shadow

0 (zero) Removes the shadow format

Omitted Toggles the shadow format


The Shadow() function returns the following values.

Value

Explanation

0 (zero)

If none of the selection is formatted with shadow

–1

If part of the selection is formatted with shadow

1

If all the selection is formatted with shadow


In Windows, Shadow and Shadow() are not available and generate errors.

See Also

FormatFont