|
<< Click to display table of contents >> TCustomRichView.GetRealDocumentPixelsPerInch |
Returns the pixel dencity (a number of pixels in a logical inch) used to draw documents.
function GetRealDocumentPixelsPerInch: Integer;
(introduced in version 18)
If DocumentPixelsPerInch contains a positive value, this function returns it.
Otherwise, if RichViewPixelsPerInch (global variable) contains a positive value, this function returns it.
Otherwise, if the application supports multiple monitors having different pixel density (Delphi 10.1+), this function returns the pixel density of the monitor that contains a form containing this editor.
Otherwise, this function returns Screen.PixelsPerInch (a pixel density of the primary monitor).
Returns 96 * ZoomPercent/100.