Preview

Description

Displays the contents of a RichTextEdit control as either a preview of the document as it would print or in an editing view.

Applies to

RichTextEdit controls

Syntax

rtename.Preview ( previewsetting )

Returns

Integer. Returns 1 if it succeeds and -1 if an error occurs.