Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | screen.copyTo.ID SEARCH    

  Functions
screen.copyTo.ID
screen.desktop.height
screen.desktop.left
screen.desktop.top
screen.desktop.width
screen.getPixel
screen.height
screen.monitor.count
screen.monitor.height
screen.monitor.left
screen.monitor.top
screen.monitor.width
screen.resolution.restore
screen.resolution.set
screen.width

  MioScript Reference
> Statements
app...
browser...
dialog...
disk...
draw...
extern...
filename...
keyboard...
menu...
mio...
mouse...
num...
path...
pushButton...
reg...
RS232...
sci...
screen...
shortcut...
sound...
str...
system...
time...
var...
window...

Function
screen.copyTo.ID

Language: MioScript
Product: MioFactory


Syntax

screen.copyTo.ID(x, y, width,height, toX,toY)


Parameters

INTx, yPosition of the part of the bitmap to copy.
INTwidth,heightSize of the part of the bitmap to copy.
INTtoX,toYPosition of the bitmap in the target image.


Return value

No value is returned.


Description

Copy a part of the screen to the specified image.




MioScript Sample Code

// Copy the part of the screen to be overlapped by the window
// and draw a transparent rectangle over it.

event.load
    screen.copyTo.main(100,100,200,200,0,0)
    window.main.pos.now(100,100,200,200)
    draw.main.rect(0,0,200,200,num.rgb(100,0,0),0,40)
    draw.main.paint()
event.end