TiVCLComponent.iPaintToDC

TiVCLComponent

Draws the control onto a specified device context.

procedure iPaintToDC(X, Y: Integer; Transparent: Boolean; DC : HDC);

Description

Call iPaintToDC to draw the control on a device context. Specify the device context as the value of the DC parameter and specify the X and Y coordinates on the device context where the top-left corner of the windowed control is to be drawn.

iPaintToDC is useful for drawing an image of the control into a bitmap DC (Device Context).

Example

Delphi

iComponent.iPaintToDC(0, 0, True, DeviceContext);

C++ Builder

iComponent->iPaintToDC(0, 0, True, DeviceContext);

Contents | Index | Previous | Next