Vcl.Graphics.TFont.PixelsPerInch

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

property PixelsPerInch: Integer read FPixelsPerInch write FPixelsPerInch;

C++

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

プロパティ

種類 可視性 ソース ユニット
property public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TFont

説明

論理インチと,フォントを使用するデバイス(プリンタまたは画面)のピクセルとの間の変換係数を示します。

PixelsPerInch プロパティは,フォントがフォームのキャンバスからプリンタにコピーされるときにフォントのポイント数が同じになるようにするために使用します。PixelsPerInch プロパティはプリンタフォントだけに影響を及ぼし,変更してはなりません。

フォントのサイズを変更したい場合は Size プロパティと Height プロパティを使用します。

関連項目