Previous - imgFromMember Section Home - Images Next - imgFromClipboard


imgFromScreen ( )

Opens an image file into Rosetta's image buffer

Usage:

imgFromScreen (object me, integer screenType)

Parameters:

screenType (integer) - The possible integer values are:

1: Director's stage, off screen buffer
2: Director's stage, on screen buffer
3. Director's application window
4. Entire screen

Returns:

(integer) - The success code

Example:

-- Print the contents of Director's stage
xtRose = xtra("Rosetta").new( )
xtRose.imgFromScreen( 2 )
xtRose.imgPrint( .1, 5, TRUE )

Notes:

The off screen capture is useful when you want to prevent accidental image captures that may include any other windows/applications the end user may have opened on top of Director's stage.

Parameter values of 1 and 2 are not supported when used with Authorware.

In authoring mode, the Director stage and Director application window have different dimensions. In projector mode, the Director stage and Director application window is of the same dimensions.


Previous - imgFromMember Section Home - Images Next - imgFromClipboard