<< Click to display table of contents >> TCustomRuler.UnitsPixelsPerInch |
The number of pixels that make up a logical inch if ScreenRes = 96 and Zoom = 100%.
property UnitsPixelsPerInch: Integer;
This value must be equal to Style.UnitsPixelsPerInch of TRichViewEdit that works with this event.
It's highly not recommended to change value of this property (as well as RichViewEdit.Style.PixelsPerInch). Change Zoom instead.
This value affects not only sizes that this ruler measures, but also sizes of its visual elements (such as tab icons and thumbs), they are scaled from UnitsPixelsPerInch to ScreenRes.
Default value
96