Topics   All functions   Mac OS X   Windows   Crossplatform   Server   Components   Guides   Statistic  
New in version: 3.0   3.1   3.2   3.3   3.4   3.5   4.0   4.1   4.2   4.3   4.4  

ScreenshotRect

Component: Screenshot
Version: 1.0
Mac OS X: Yes
Windows: Yes
Server: Yes

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

Result

Returns the image as a container value so you can assign it to a container.

Description

This function will take snapshot of the area of the screen described by the first four Parameters.
Updated for Mac OS X 10.7 in plugin version 2.5.

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.




Links
MBS Real Studio Chart Plugins - Pfarrgemeinde St. Arnulf Nickenich