All functions   Mac OS X   Windows   Crossplatform   Components   New in version: 1.0   1.1   1.2   1.3   1.4   1.5   1.6   1.7   1.8   2.0  

ScreenshotRect

Component: Screenshot
Mac OS X: Works
Windows: Works

MBS( "ScreenshotRect" ; Left; Top; Width; Height; Format; Quality; File Name )

Parameters

Parameter Description Example value
Left Left 100
Top Top 100
Width Width of the rectangle 200
Height Height of Rectangle 200
Format File Format JPEG
Quality The quality of the image 1024
File Name The desired file name Test File.jpg

Description

This function will take snapshot of the area of the screen described by the first four Parameters.

Examples

Capture a portion of the screen to a JPEG

Let(
[
/*-----------------PARAMETERS--------------------*/
Left = 100;
Top = 100;
Width = 200;
Height = 200;
Format = "JPEG";
Quality = 1024;
File Name = "Test File.jpg"
];
/*-------------------FUNCTION----------------------*/
MBS(
" ScreenshotRect ";
Left ;
Top ;
Width ;
Height ;
Format ;
Quality ;
File Name
)
)

Feedback: Report problem or ask question.