rvico TRichView Reference | TRVStyle | TFontInfos

TFontInfos.PixelsPerInch

Top  Previous  Next

Indicates the number of pixels that make up a logical inch in the vertical direction.

PixelsPerInch: Integer;

This property affects how text is displayed in components inherited from TCustomRichView and TRVReportHelper (this property is ignored by TRVPrint).

If this property is equal to 0, Screen.PixelsPerInch is used to display text.

You can assign positive value to this property to make your application independent of screen font mode. For example, if you assign 96, text will always look like in "Small Fonts" mode; if you assign 120, text will always look like in "Large Fonts" mode.

This property does not affect non-text elements, such as line widths or picture sizes (see RichViewPixelsPerInch typed constant).

Default value:

0

 


TRichView © trichview.com