This method displays the PanWindow on the screen.

[Visual Basic] Public Function Show(Visible As Booleana) As Boolean
[C#] public bool Show(bool Visible)

Parameters

Value Explanation
Visible Displays or hides the PanWindow
[True (nonzero): the PanWindow is displayed, False(0): the Pan Window is hidden]

Return Value

Returns True if successful. Returns False if unsuccessful.

Explanation

The Show method displays the pan window on the screen. The location of the PanWindow is determined by the PWLeft and PWTop properties. The size of the PanWindow is determined by the PWSize property.

When the Visible parameter is True, the PWLeft, PWTop, and PWSize properties must be set. This method is only enabled when the image is displayed in actual size.

The PanWindow will be displayed when the image's ShowPanWindowImage property is set to True. The order in which images are displayed are: base image, layer images (from smallest to largest index). Note that if the base image has not been set then the layer images are not displayed.

If the ImageKit Control is placed on a modal form then please display the PanWindow after the form has been displayed.

See Also

ImageKit.PanWindow Members | Newtone.ImageKit.Wpf.ImageKit

The ImageKit WPF is created by Newtone Corporation