ViewDraft, ViewDraft()

Syntax

ViewDraft [On]

ViewDraft()

Remarks

The ViewDraft statement turns draft mode on or off for the active document or macro-editing window. Draft mode is specified by the Draft Font check box on the View tab in the Options dialog box (Tools menu).

Argument

Explanation

On

Specifies whether to turn draft mode on or off:

0 (zero) Turns draft mode off.

1 Turns draft mode on.

Omitted Toggles draft mode.


The ViewDraft() function returns the following values.

Value

Explanation

0 (zero)

If draft mode is off

–1

If draft mode is on


See Also

ToolsOptionsView