Vcl.Graphics.TFont.PixelsPerInch

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property PixelsPerInch: Integer read FPixelsPerInch write FPixelsPerInch;

C++

__property int PixelsPerInch = {read=FPixelsPerInch, write=FPixelsPerInch, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TFont

Description

Indicates the conversion factor between logical inches and the pixels of the device (printer or screen) using the font.

PixelsPerInch is used to ensure that when a font is copied from the form's canvas to the printer, the font is the same size in points. The PixelsPerInch property affects printer fonts only and should not be modified.

To modify the size of a font, use the Size or Height properties.

See Also