TSCARClient.CaptureEx

From SCAR Divi Manual
Jump to: navigation, search

Definition

Member of TSCARClient.
function TSCARClient.CaptureEx(const XS, YS, XE, YE: Integer): TSCARBitmap;

Availability

SCAR Divi 3.35 > Current

Description

Returns a new bitmap as a TSCARBitmap object, which contains an image of a box on the client, specified by (XS, YS, XE, YE) relative to the client's ImageArea.

Example

var
  Bmp: TSCARBitmap;
begin
  Bmp := GetClient.CaptureEx(100, 100, 200, 200);
  try
    DebugBitmap(Bmp);
  finally
    Bmp.Free;
  end;
end.

See Also