Vcl.Graphics.TPen.Handle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Handle: HPen read GetHandle write SetHandle;

C++

__property HPEN Handle = {read=GetHandle, write=SetHandle, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TPen

Description

Specifies the Windows pen object handle.

The Handle property provides access to the Windows GDI object handle. TPen encapsulates the Windows pen object (HPEN). Use Handle when making a Windows API function call that requires the handle of a pen object. Handle is the Windows handle currently selected into the device context of the canvas.

See Also