TCnPrintDocument.DocumentName Property

Gets or sets the document name to display (for example, in a print status dialog box or printer queue) while printing the document.

Namespace: CNClrLib.Component.PrintDocument
 property DocumentName: String read GetDocumentName write SetDocumentName;

Property Value

Type: String

The document name to display while printing the document. The default is 'document'.

The DocumentName property does not specify the file to print. Rather, you specify the output to print by handling the OnPrintPage event.