DocumentName

Applies to

RichTextEdit controls

Description

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

Usage


In a painter

StepsTo set the document name for printing:

  1. 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"