PDA

View Full Version : Scrolling the zoomed video



PeterK
December 15, 2006, 12:54:47
Hi,

how to set the position of the scrollbars programaticaly? When I zoom the video, I want the center of the zoomed video image to stay in the middle of the application.

Thanks,
Peter

Stefan Geissler
December 15, 2006, 13:30:42
Hi Peter,

If you set the properties .LiveDisplayLeft and .LiveDisplayTop in your program, the live video is positioned and the scrollbars are updated automatically.

http://www.imagingcontrol.com/ic/docs/html/activex/prop_descICImagingControl_LiveDisplayLeft.htm
http://www.imagingcontrol.com/ic/docs/html/activex/prop_descICImagingControl_LiveDisplayTop.htm

If this does not work as expected, please let me know!

PeterK
December 15, 2006, 14:22:29
Hi,

thanks! It works as expected.

Peter