Vcl.Graphics.TGraphic.GetWidth

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

Delphi

function GetWidth: Integer; virtual; abstract;

C++

virtual int __fastcall GetWidth() = 0 ;

プロパティ

種類 可視性 ソース ユニット
function protected
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TGraphic

説明

グラフィックの水平方向のサイズをピクセル単位で取得します。

GetWidth は、グラフィックの水平方向のサイズをピクセル単位で取得します。

TGraphic クラスの各派生クラスは、独自の GetWidth メソッドおよび SetWidth メソッドを定義して、Width プロパティにアクセスします。

関連項目