Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

When using the function imgPlotDC what is the device context, and how does it relate to MFC?

When using the function imgPlotDC, how is the device context used to display and image in Visual C++ MFC?
0 Kudos
Message 1 of 2
(3,179 Views)
Hello,
A device context is a structure that defines a set of graphic objects and their associated attributes, as well as the graphic modes that affect output. The NI-IMAQ imgPlotDC function plots a buffer to a device context given a device context handle.
Device context functions are listed here on the website and have a detailed description of how they are used to display images.
Let me know if you have further questions.
Good luck with your application and have a great day!
Regards,
Koninika
Applications Engineer
National Instruments
http://www.ni.com/support
Message 2 of 2
(3,179 Views)