This property refers to the number of pixels per horizontal inch (horizontal resolution) in the image set in the Layer(LayerNo).ImageHandle property.
[Visual
Basic] imagekitcontrolname.Layer(Index).Xdpi
[ = Long ]
[Visual C++] [
long =
]imagekitcontrolname.GetLayer(Index).GetXdpi()
imagekitcontrolname.GetLayer(Index).SetXdpi(long Val)
imagekitcontrolname.GetLayer(Index).SetXdpi(long Val)
* The index can range from 0 to 99
Reference
The number of pixels in one horizontal inch
Explanation
The Xdpi property refers to the number of pixels per horizontal inch (horizontal resolution) in the image set in the Layer(LayerNo).ImageHandle property.
When the Layer(LayerNo).ImageHandle property is set the value of this property is automatically set.
To change the value of the The Xdpiproperty set the index of the image in the LayerNo property then execute the SetDpi method.
Setting this value
This value can be set at run-time.Retrieving this value
This value can be retrieved at run-time.