TXTextControl.Device Property

This property returns or sets the device for which the current Text Control document is formatted.


TXTextControl.Device [= Device]
Setting Description
1    The document is formatted for the screen.
2    (Default) The document is formatted for the standard printer.
Otherwise    A character string identifying an installed printer. This string must be in the same format as that used in the Windows system settings, for example: Postscript Printer, PSCRIPT, LPT1:

Data Types

Integer or String.


Run time only.

See Also