Vcl.Graphics.TCanvas.GetHandle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetHandle: HDC;

C++

HDC __fastcall GetHandle(void);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TCanvas

Description

Represents the getter method for the Handle property.

GetHandle is called each time the value of the Handle property is read. GetHandle uses the RequiredState method to make sure that the canvas has a valid handle allocated.

See Also