Debenu Quick PDF logo

GetImagePageCountFromVariant

Image handling, Miscellaneous functions

Version history

This function was introduced in Quick PDF Library version 16.11.

Description

Returns the number of pages in the provided image data. Most images consist of 1 page, but TIFF images may contain multiple pages.

Syntax

Delphi

This function is not available in the Delphi edition

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::GetImagePageCountFromVariant(
  Source As Variant) As Long

DLL

This function is not available in the DLL edition

Parameters

Source A string containing the image data. In the ActiveX version of the library this string must contain 16-bit characters, only the lower 8-bits of each character will be used.

Return values

0 The image data is invalid
Non-zero The number of pages in the image

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport