This method displays the image. This method has been deprecated. Please use the DisplayImage method instead.
[Visual Basic]   [ Boolean = ]imagekitcontrolname.Display(DispMode As DispModeConstants)
[Visual C++]     [ BOOL = ]imagekitcontrolname.Display(long DispMode)
[VB.NET]   [ Boolean = ]imagekitcontrolname.Display(DispMode As ImageKit10(A)Lib.DispModeConstants)
[C#.NET]   [ bool = ]imagekitcontrolname.Display(ImageKit10(A)Lib.DispModeConstants DispMode)

* ImageKit10ALib refers to the ANSI version, ImageKit10Lib refers to the Unicode version.

Parameters

Name Explanation
DispMode The display mode. Can be one of the following.

0: Clears the image within the ImageKit Control

1: Scale display mode

2: Stretch display mode

3: Actual size display mode (Please refer to the DispScaleX, DispScaleY properties)

4: Fit to Width

5: Fit to Height

It is also possible to use the following constants (ikClear = 0, ikScale = 1, ikStretch = 2, ikActualSize = 3, ikFitToWidth = 4, ikFitToHeight = 5).

Return Value

Returns True (nonzero) if successful, otherwise returns False (0).

Explanation

The Display method displays the image.

When the DispMode parameter is 0 (ikClear), the image displayed within the ImageKit Control is cleared. To display images in the ImageKit Control you must execute the Display method again.

When the DispMode parameter is 1 (ikScale) or more and the ShowInDisp property is true, the image is displayed. (base image or layer image)

Images are displayed in the following order: the base image first then the Layer images (the images with lower indexes are displayed before the image with higher indexes)

Note that if the base image is not set, then the Layer images are not displayed.

IMPORTANT: This method has been deprecated. It is being maintained to provide backward compatibility with the ImageKit7 ActiveX. Please use the DisplayImage method instead.

 

The ImageKit10 ActiveX is a product created by Newtone Corporation