targetDevice

Type: Integer

Availability: Read or write at any time

The targetDevice property of the JadeRichText control contains the device used for "what you see is what you get" (WYSIWYG) printing. The values for this property are listed in the following table.

JadeRichText Class Constant Integer Value
TargetDevice_Printer 1
TargetDevice_Screen 0

When this property is set TargetDevice_Printer (1), the rich text format control layout changes to match how the contents would look if they were printed on the current default printer. In this mode, the lineWidth property has no meaning, as the horizontal width of the text is determined by the printer.