|
The jpeg image is bigger than the Picture Control, and the jpeg file is in the local disk. It is no problem to show jpeg image, I can use the CImage to load the jpeg image and then user Picture Control's SetBitmap() method to display this image.
But how to zoom to display this jpeg?
|
|
|
|
|
Maybe this[^] article might help.
|
|
|
|
|
Thank you jeron1,
I set the Picture Control's Type property as "Frame", and then use the Graphic to Graphics's DrawImage to draw iamge.
+5
|
|
|
|
|
If you only need the image to fit the window (without adding zoom in and zoom out capabilities), just set the image control attribute "Real Size Image" to FALSE.
|
|
|
|