Sign in Join
FPDoc Onlineexperiment

TCanvas.GetUpdatedHandle function

Member of TCanvaspublicIn unit Graphics

Checks the required canvas states and gets the updated Handle for the canvas.

Declaration

pascal
function GetUpdatedHandle(ReqState: TCanvasState): HDC; virtual

Arguments

ReqState

Canvas state flags required in the method.

Function result

New value for Handle after checking required canvas states.

Description

Includes the value csHandleValid flag in ReqState and calls RequiredState to check the canvas state flags. The return value contains the updated value for the Handle property.

See also

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