TSCARClient.CaptureEx

From SCAR Divi Manual
Revision as of 19:21, 22 July 2012 by Freddy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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