Hi,
i am using VS2008 and IMAQ 7.1.1. I have a CWIMAQViewer (niViewer) and I am attaching an image.
Private m_clsImage As New CWIMAQImage
niVision.ReadImage(m_clsImage, sFileName)
niViewer.Attach(m_clsImage)
The resulting niViewer.ControlImage.size is {Width = 3966 Height = 2667} even though the m_clsimage width and height is 1264 and 848. The niViewer.ControlImage.size is already set before I attach the image. Is there a way to set the controlimage size to be the same as the CWIMAQImage? When i save the controlimage, I end up with a huge file.
Thanks,
Stephen