TSCARClient.CaptureEx
From SCAR Divi Manual
Revision as of 18:21, 22 July 2012 by Freddy (talk | contribs) (Created page with "==Definition== Member of TSCARClient.<source lang="scar" lines="false"> function TSCARClient.CaptureEx(const XS, YS, XE, YE: Integer): TSCARBitmap; </source> ==Availability=...")
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 [TSCARClient.ImageArea|ImageArea]].
Example
var Bmp: TSCARBitmap; begin Bmp := GetClient.CaptureEx(100, 100, 200, 200); try DebugBitmap(Bmp); finally Bmp.Free; end; end.