Vcl.Direct2D.TDirect2DFont.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 published
Vcl.Direct2D.pas
Vcl.Direct2D.hpp
Vcl.Direct2D TDirect2DFont

Description

Indicates the conversion factor between logical inches and the pixels of the canvas using the font.

PixelsPerInch is used to ensure that, when a font is copied from a canvas to another, the font has the same size in points.

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

See Also