This property sets the point on the image that will be displayed from the top left corner of the ImageKit Control
[Visual
Basic] imagekitcontrolname.Layer(Index).StartX
[= Long ]
[Visual C++] [
long =
]imagekitcontrolname.GetLayer(Index).GetStartX()
imagekitcontrolname.GetLayer(Index).SetStartX(long Val)
imagekitcontrolname.GetLayer(Index).SetStartX(long Val)
* The index can range from 0 to 99
Property Value
The horizontal position on the image that will be displayed from the left of the ImageKit Control. The default value is 0.
Explanation
The StartX property sets the point on the layer image that will be displayed from the top left corner of the ImageKit Control. The image that the StartX property relates to is the image set in the Layer(LayerNo).ImageHandle property.
If the base image has not been set this property is disabled. The base image is the image pointed to by the ImageHandle property.
For example:
ImageKit1.Layer(0).StartX = 300
ImageKit1.Layer(0).StartY = 200
ImageKit1.Refresh
Setting this value
This value can be set at run-time.Retrieving this value
This value can be retrieved at run-time.