Hi Nigel,
i have made a few test's. I have to ImageEnView's on my Form
1. ImagePassport
2. ImageDirectShow
The ImagePassport only shows a Image (SnapShot from ImageDirectShow). The ImageDirectShow shows the incoming signal of a WebCam.
Centering the Image with ImageHorizAlignment:=iehCenter; don't work by both. Why not I don't know.
The ViewX:=xy seems only working if a image is displayed. When i do it in the ImageDirectShow after the first
ImageDirectShow.IO.DShowParams.GetSample(ImageDirectShow.Layers[0].Bitmap);
ImageDirectShow.Update;
If FirstTime then
begin
ImageDirectShow.ViewX:=yx;
FirstTime:=false;
end;
it works. It would be nicer if i can use ieCenter. The ViewX also works without a Scrollbar. I only had show the scrollbar to see if Centering or changing the view position work.
Thanks and best regards
Ralf