[Lazarus] Pixels

Michael Van Canneyt michael at freepascal.org
Tue Oct 10 18:07:25 CEST 2017



On Tue, 10 Oct 2017, Larry Dalton via Lazarus wrote:

> I need a function to get pixels per inch in a Linux application.

In an LCL graphical application ? You mean DPI ?

Take your pick:

   TForm.PixelsPerInch
   Monitor.PixelsPerInch
   Screen.PixelsPerInch

Michael.


More information about the Lazarus mailing list