All functions
Mac OS X
Windows
Crossplatform
Server
Components
Guides
Statistic
New in version:
2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
3.0
3.1
3.2
ScreenshotRect
Component: Screenshot
Version: 1.0
Mac OS X: Works
Windows: Works
Server: 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 |
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 Messdiener Nickenich