Sign in Join
FPDoc Onlineexperiment

TCanvas.SetHandle procedure

Member of TCanvasprotectedIn unit Graphics

Sets the value for the Handle property.

Declaration

pascal
procedure SetHandle(NewHandle: HDC); virtual

Arguments

NewHandle

New value for the property.

Description

De-selects any existing handles in the class instance, and sets the new value for the property. Applies the anti-aliasing mode when the handle is valid. Updates the state flags for the canvas.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.