TRVPrint.BestDPI [FMX]

<< Click to display table of contents >>

TRVPrint.BestDPI [FMX]

Specifies the preferred printer DPI ("dots per inch") value.

property BestDPI: TRVPrinterDPI;

(introduced in version 20)

This property is used if the printer's DPI is not specified (i.e. if Printer.ActivePrinter.ActiveDPIIndex < 0).

Selects the DPI that best fits BestDPI and activates it.

BestDPI has two integer fields: X and Y. They define horizontal and vertical DPI values. If one of them = 0, the component selects the first DPI listed in Printer.ActivePrinter.DPI[].

If Printer.ActivePrinter.ActiveDPIIndex is already specified, this property is ignored.

 

Default value:

600, 600