Difference between revisions of "TSCARClient.CaptureEx"
From SCAR Divi Manual
(Created page with "==Definition== Member of TSCARClient.<source lang="scar" lines="false"> function TSCARClient.CaptureEx(const XS, YS, XE, YE: Integer): TSCARBitmap; </source> ==Availability=...") |
|||
Line 8: | Line 8: | ||
==Description== | ==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]]. | + | 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== | ==Example== |
Latest revision as of 18:21, 22 July 2012
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.