Servoy Plugins
Home
Table-Bean
XML-Plugin
MailPro-Plugin
DialogPro-Plugin
UserManager-Plugin
Google-Plugin
Exchange plugin
Phone-Plugin
FileWatcher-Plugin
TrayIcon-Plugin
PDI-Plugin
DateUtils-Plugin
Log-Plugin
ScreenShot-Plugin

Screenshot plugin for Servoy
Free plugin to create screenshots in Servoy

The Screenshot-Plugin allows you to create screenshots via method. The plugin either writes the screenshot to a file or returns the image data.

Creating a screenshot is simple:

plugins.ScreenShot.createScreenShot(
          [String fileFormat],
          [int x],
          [int y],
          [int width],
          [int height])

This method creates a screenshot and returns a byte[] (the image's data) that can be stored in a blob column, for example. The fileFormat parameter accepts most image types such as "jpg", "gif" or "png". The optional x, y, width and height allow you to provide the coordinates of the screenshot (the screenshot's area). If nothing is provided, Servoy's main window is used.

plugins.ScreenShot.writeScreenShotToFile(
          String filePath,
          [String fileFormat],
          [int x],
          [int y],
          [int width],
          [int height])

The same as createScreenShot(), except that it writes the screenshot to a file with the given path.

For configurations with several displays, the plugin features methods to get all or the default display and create screenshots for one or all displays.

The development of this plugin has been sponsored by DirectICT.

The Screenshot plugin is free, but requires registration and a license key. You can obtain a free license key from either our shop or by hitting the Get it button in the upper right corner of this page.

Try it
 
News
Version history
 
Shop
Downloads
Company
Contact
Services

SAN Partner

 

Follow us:
Twitter Facebook
Twitter Twitter

 

         
Legal notice        © 2007-2011 Servoy-Plugins.de        Terms and conditions