This method retrieves the value of resolution property of an image. (Float)
[Visual Basic]   [ Boolean = ]imagekitcontrolname.GetDpiF(Xdpi As Single, Ydpi As Single)
[Visual C++]     [ BOOL = ]imagekitcontrolname.GetDpiF(float *Xdpi, float *Ydpi)
[VB.NET]   [ Boolean = ]imagekitcontrolname.GetDpiF(ByRef Xdpi As Single, ByRef Ydpi As Single)
[C#.NET]   [ bool = ]imagekitcontrolname.GetDpiF(ref float Xdpi, ref float Ydpi)

Parameters

Name Explanation
Xdpi The horizontal resolution (Number of pixels per horizontal inch)
Ydpi The vertical resolution (Number of pixels per vertical inch)

Return Value

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

Explanation

The GetDpiF method retrieves the value of the resolution property of the image referred to by the LayerNo property (ImageHandle property or Layer(LayerNo).ImageHandle property). The resolution value is a float type.

If successful, the resolution values will be retrieved in the Xdpi and Ydpi parameters.

This method is similiar to the GetDpi method except that the resolution is retrieved as the method parameters of type "float".

The ImageKit10 ActiveX is a product created by Newtone Corporation