Cut the picture and copy without using the clipboard - Forum

Forum Navigation
You need to log in to create posts and topics.

Cut the picture and copy without using the clipboard

Sorry for my English.

hpwImageCopyToClip "A" "1" "1" "150" "150"
copy part of the image from rectangle A to the clipboard

hpwImageCopyFromClip "R1" "1" "1" "0" ""
copy from the clipboard to the R1 rectangle

and can I copy part of the image from rectangle A to R1 without using this clipboard?

Please help.

Hello,

Take a look at page 2 of the demo Pub.

There are 2 Buttons with 'SaveTo Stream' and 'LoadFromStream'.

There you can store a Bitmap into a neobook variable and reload it from there.

And that works also on 2 different Rectangles.

Edit: You may also have a look at hpwImageBitBlt on page 6.

Regards

Hans-Peter

agilos has reacted to this post.
agilos

Thank you very much !. Immediately I am working to improve my program