ImageVerticalResolution

Image handling

Description

Returns the vertical resolution of the selected image, if it is available. Presently only the resolution of JFIF/JPEG, Exif/JPEG, TIFF and BMP images can be retrieved. Use the ImageResolutionUnits function to determine if this measurement is in dots-per-inch (DPI) or dots-per-centimeter (DPCM).

Syntax

Delphi

Function TPDFlib.ImageVerticalResolution: Integer;

ActiveX

Function PDFlib::ImageVerticalResolution() As Long

DLL

int DLImageVerticalResolution(int InstanceID);

Return values

Returns the vertical resolution of the selected image in the units reported by ImageResolutionUnits. Returns 0 when no image is selected or the image format carries no resolution information.