|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > Clipboard Commands > Managing Bitmaps > Clipboard Commands |
MiniRobotLanguage (MRL)
CLB.Bitmap From Image Register
Transfer a Bitmap / Picture from an specified IR to the Clipboard
Intention
This command will copy any picture that is in specified Image-Register P1 into the the Windows-Clipboard.
Technically this is similar to "ANA.ToClipboard".
This is the Opposite Command to "CLB.Bitmap to Image Register"
Syntax
CLB.Bitmap From Image Register[|P1]
Parameter Explanation
P1 - opt. Image-Register number, if omitted, IR 0 will be used.
The Command will leave a 0/1 on the TOS. As always, a 0 means Error, while a 1 means "all fine".
Example
'***********************************
' CLB.-Sample
'***********************************
' We need this to copy a Image into Clipboard
ANA.New|0|800|400
ANA.vgradient|0|&HFF00FF|&H000000
CLB.Bitmap From Image Register|0
CLB.Bitmap To Image Register|1
ANA.Show|1
ANA.ToVar|1|$$IRA
ANA.Invert|1
ANA.Show|1!
CLB.Bitmap From Image Register|1
CLB.Shop
ENR.
Remarks
-
Limitations:
-
See also:
• ! Smart Package Robot 's Parallel Robot Operations