This property sets which ImageKit control will be used as a pan window.
Property Value
ImageKit Control
Default value is null (Nothing).
Explanation
The PanWindowImageKit property sets which ImageKit control will be used as a pan window.
By setting the PanWindowMode property to True, one ImageKit control can be converted to a pan window and used by another ImageKit control. The PanWindowImageKit property associates one ImageKit control with the ImageKit control that has been converted to a pan window. In this case, when an image is loaded into the ImageKit control, the same image will automaticall appear in the pan window and can be scrolled, etc.
Example code that sets ImageKit2 to act as a pan window for ImageKit1
In VisualBasic.NET
ImageKit1.PanWindowImageKit = ImageKit2 'associates ImageKit1
with the ImageKit2
ImageKit2.PanWindowMode = True 'Sets ImageKit2 to act as a pan
window
In C#.NET
ImageKit1.PanWindowImageKit = ImageKit2; //associates ImageKit1
with the ImageKit2
ImageKit2.PanWindowMode = true; //Sets ImageKit2 to act as a pan
window
See Also
ImageKit Members | Newtone.ImageKit.Win.ImageKit