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 in Visual Basic (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 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.