Vcl.StdCtrls.TCustomLabel.Canvas
Delphi
property Canvas: TCanvas read FCanvas;
C++
__property Canvas;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomLabel |
Description
Provides the drawing surface used by the graphic control.
Vcl.StdCtrls.TCustomLabel.Canvas inherits from Vcl.Controls.TGraphicControl.Canvas. All content below this line refers to Vcl.Controls.TGraphicControl.Canvas.
Provides the drawing surface used by the graphic control.
Use the properties of the TCanvas object to draw or paint on the surface of the control.
Since a TGraphicControl instance does not have its own Windows screen object, it obtains its device context from its parent control.
See Also
Code Examples