02-14-2011 01:03 PM
What is the difference between the functions
GetCtrlBitmap() and GetCtrlDisplayBitmap()?
If it matters, this would be using CVI 8.5.
Many thanks.
Solved! Go to Solution.
02-14-2011 04:57 PM
With GetCtrlDisplayBitmap you can obtain a screenshot image of any control and store it in a bitmap object.
On the other hand, with GetCtrlBitmap you can retrieve an image that is stored inside particular controls like picture controls, picture rings and so on.
02-15-2011 10:20 AM
Thanks for your reply, Roberto, but I still don't understand.
What is the difference between a screenshot image of a control and
an image stored inside a control?
02-15-2011 10:38 AM - edited 02-15-2011 10:41 AM
A picture control can have an image inside it. A numeric or graph control cannot.
With GetCtrlBitmap you can retrieve the image which is loaded inside a picture control and only this one (without control frame, up-down arrows and other details); with GetCtrlDisplayBitmap you can obtain a copy of the complete control even if the control does not have a bitmap in it (e.g. a numeric complete with up-down arrows, radix sign and so on; a graph or stripchart, for which you copy also scale aspect and so on).