DocumentName

Applies to

RichTextEdit controls

Description

The Document Name property specifies the name that appears in the print queue when the user prints the contents of the control.

Usage

In a painter

To set the document name for printing:

  • Enter the document name in the Document Name for Printing field on the Document tab page of the control's Properties view.

In scripts

The DocumentName property takes a string. The following example specifies a document name for the print queue for a RichTextEdit control:

rte_1.DocumentName = 'Report 1'