This event is generated just after the image has been displayed.

[C++Builder]   imagekitcontrolnameEndDispImage(TObject *sender, int OriginX, int OriginY, int ALeft, int ATop, int ARight, int ABottom, double ScaleWidth, double ScaleHeight)
[Delphi]   imagekitcontrolnameEndDispImage(Sender: TObject; OriginX, OriginY, ALeft, ATop, ARight, ABottom: Integer; ScaleWidth, ScaleHeight: Double)

Parameters

Name Explanation
OriginX The horizontal distance from the left side of the ImageKit Control to the left side of the image. (If the image is larger than the ImageKit Control in the horizontal direction, OriginX will equal 0.)
OriginY The vertical distance from the top of the ImageKit Control to the top of the image. (If the image is larger than the ImageKit Control in the vertical direction, OriginY will equal 0.)
ALeft The horizontal distance from the left side of the actual image to the left side of that portion of the image currently being displayed.
ATop The vertical distance from the top of the actual image to the top of that portion of the image currently being displayed.
ARight The horizontal distance from the left side of the actual image to the right side of that portion of the image currently being displayed.
ABottom The vertical distance from the top of the actual image to the top of that portion of the image currently being displayed.
ScaleWidth The horizontal scale between the displayed portion of the image and the actual image.
ScaleHeight The vertical scale between the original image and the displayed image.

The location and coordinates are in pixel units.

Explanation

The EndDispImage event is generated just after the image has been displayed. If there are processes that you want to occur just after an image is displayed, then place that code within this event.

The values of the OriginX and OriginY parameters will depend on the settings of the BorderVisible, Appearance, and Grad properties.

 

The ImageKit10 VCL is a product created by Newtone Corporation