Quick PDF logo

GetImageListItemIntProperty

Image handling

Version history

This function was introduced in Quick PDF Library version 8.13.

Description

Returns an Integer type property of the specified image list item.

Syntax

Delphi

function TQuickPDF0815.GetImageListItemIntProperty(ImageListID, ImageIndex, 
  PropertyID: Integer): Integer;

ActiveX

Function QuickPDF0815.PDFLibrary::GetImageListItemIntProperty(ImageListID As Long,
  ImageIndex As Long, PropertyID As Long) As Long

DLL

int QuickPDFGetImageListItemIntProperty(int InstanceID, int ImageListID,
  int ImageIndex, int PropertyID)

Parameters

ImageListID A value returned by the GetPageImageList function
ImageIndex The index of the image in the list. The first image has an index of 1.
PropertyID 400 = Image type
401 = Width in pixels
402 = Height in pixels
403 = Bits per pixel
404 = Color space type

Return values

1 JPEG (for image type)
DeviceGray (for color space type)
2 BMP (for image type)
DeviceRGB (for color space type)
3 TIFF (for image type)
DeviceCMYK (for color space type)
4 PNG (for image type)
-1 Unknown (for color space type)

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum