<< Click to display table of contents >> RichViewPixelsPerInch Typed Constant |
Number of pixels in one screen inch.
Unit [VCL/FMX]: RVFuncs / fmxRVFuncs;
Syntax
const
RichViewPixelsPerInch : Integer = 0;
If 0 (default), TRichView uses the screen resolution (Screen.PixelsPerInch), or, if the application supports it, resolution of its monitor (in Delphi 10.1+).
If non zero, this value is used.
If you use TRVRuler component (from RichViewActions) and if you assign a positive value to RichViewPixelsPerInch, assign the same value to RVRuler1.ScreenRes property,
DEPRECATED!
This variable was useful in TRichView versions prior to 18 to provide printing, import and export independent of the screen resolution. In the new version of TRichView, everything is independent of the screen resolution by default.
Instead of this constant, the following properties must be used: