This method sets a new value in the resolution property of an image. (Float)
[Visual Basic]   [ Boolean = ]imagekitcontrolname.SetDpiF(Xdpi As Single, Ydpi As Single)
[Visual C++]     [ BOOL = ]imagekitcontrolname.SetDpiF(float Xdpi, float Ydpi)
[VB.NET]   [ Boolean = ]imagekitcontrolname.SetDpiF(Xdpi As Single, Ydpi As Single)
[C#.NET]   [ bool = ]imagekitcontrolname.SetDpiF(float Xdpi, float Ydpi)

Parameters

None

Return Value

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

Explanation

The SetDpiF method sets a new value into the resolution property of the image referred to by the LayerNo property (ImageHandle property or Layer(LayerNo).ImageHandle property).

If successful, the resolution values set in the Xdpi and Ydpi properties (for the image set in the ImageHandle) and set in the Layer(LayerNo).Xdpi and Layer(LayerNo).Ydpi (for images set in the Layer(LayerNo).ImageHandle property) will be set in resolution property of the image.

This method is similiar to the SetDpi method except the resolution is a float type.

The ImageKit10 ActiveX is a product created by Newtone Corporation