Vcl.ExtCtrls.TPaintBox

提供:RAD Studio API Documentation

TPaintBoxVcl.Controls.TGraphicControlVcl.Controls.TControlSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObject

Delphi

TPaintBox = class(TGraphicControl)

C++

class PASCALIMPLEMENTATION TPaintBox : public Vcl::Controls::TGraphicControl

プロパティ

種類 可視性 ソース ユニット
class public
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls Vcl.ExtCtrls


説明

TPaintBox は、画像を描画するためにアプリケーションが使用できるキャンバスを提供します。

カスタム画像をフォームに追加するには、TPaintBox を使用します。 ビットマップ、アイコン、またはメタファイルに格納されている画像を表示する TImage とは異なり、TPaintBox には、画像を直接キャンバスに描画するアプリケーションが必要です。 このペイント ボックスの Canvas(ペイント ボックスの描画サーフェス)に描画するには、OnPaint イベント ハンドラを使用します。

関連項目