MBS Plugin Documentation

Search:

Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchie

New in Version 7.0 7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.8 8.0 8.1 8.2 8.3 8.4 8.5 8.6 8.7 9.0

The list of the   themes,   classes,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

ScreenshotDisplayMBS(index as integer) as picture
global method, Screenshot, MBS Picture Plugin (Screenshot), Plugin version: 3.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Returns the Screenshot from the display with the given index.
Notes:
Index starts at 0 for the main display.
Works on Linux and Windows only for first screen.

Plugin Version 7.2 adds Windows Vista Support.

Some examples using this method:

ScreenshotFromStringMBS(Width as integer, Height as integer, RowBytes as integer, data as string) as picture
global method, Screenshot, MBS Picture Plugin (Screenshot), Plugin version: 8.6, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Creates the picture from a string returnd by ScreenshotStringMBS.
Example:
dim p as Picture
dim s as string

dim w,h,r as integer

s=ScreenshotStringMBS(w,h,r)

p=ScreenshotFromStringMBS(w,h,r,s)

Backdrop=p

Notes:
Returns nil on any error.
(for example if width, height and rowwidth doesn't fit together.)
ScreenshotMBS as picture
global method, Screenshot, MBS Picture Plugin (Screenshot), Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Returns a picture of the screen content in screen resolution.
Example:
p=screenshotMBS

Notes:
For a rectangle only you can use ScreenShotRectMBS.

Plugin Version 7.2 adds Windows Vista Support.

Some examples using this method:

ScreenshotRectMBS(left as integer, top as integer, width as integer, height as integer) as picture
global method, Screenshot, MBS Picture Plugin (Screenshot), Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Returns a picture of the screen rectangle in screen resolution.
Example:
p=screenshotMBS(100,100,200,200)

Notes:
Improved in Version 3.2 to support multiple displays on Mac OS.

Plugin Version 7.2 adds Windows Vista Support.

Some examples using this method:

ScreenshotRectMBS(left as integer, top as integer, width as integer, height as integer, destwidth as integer, destheight as integer) as picture
global method, Screenshot, MBS Picture Plugin (Screenshot), Plugin version: 6.3, Mac OS X: Works, Windows: Works, Linux x86: Does nothing, Feedback.

Function: Returns a picture of the screen rectangle in screen resolution and scales it down to the requested size.
Example:
p=screenshotMBS(100,100,200,200,50,50)

Notes:
Only for Mac OS.
On Windows or Linux, please use the other ScreenshotRectMBS without the extra parameters and scale the image yourself with the scale method needed.
This function is just to do the grab and scale in one rush to save CPU time.

Plugin Version 7.2 adds Windows Vista Support.

Some examples using this method:

ScreenshotStringDisplayMBS(byref Width as integer, byref Height as integer, byref RowBytes as integer, index as integer) as string
global method, Screenshot, MBS Picture Plugin (Screenshot), Plugin version: 8.6, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Returns a picture of the screen content in screen resolution.
Example:
dim s as string
dim w,h,r as integer
s=ScreenshotStringDisplayMBS(w,h,r, index)

Notes:
Returns nil on any error.
Use ScreenshotFromStringMBS to get the picture from the string.
ScreenshotStringMBS(byref Width as integer, byref Height as integer, byref RowBytes as integer) as string
global method, Screenshot, MBS Picture Plugin (Screenshot), Plugin version: 8.6, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: Returns a picture of the screen content in screen resolution.
Example:
dim s as string
dim w,h,r as integer
s=ScreenshotStringMBS(w,h,r)

Notes:
Returns nil on any error.
Use ScreenshotFromStringMBS to get the picture from the string.

The items on this page are in the following plugins: MBS Picture Plugin.