QPx_CountAreaPages

QPx_CountAreaPages(areaRef; areaRef):error
areaRef Longint QPix area reference
numPages Longint Number of pages
error Longint Error result

Get the number of pages of the image being displayed in a QPix area

The QPix plug-in area is specified by areaRef. If areaRef is not a valid QPix plug-in area reference, qpx_paramErr is returned.

Parameter numPages receives the number of pages.

Related commands

QPx_GetAreaPage Get the number of the page being displayed in a QPix area
QPx_SetAreaPage Switch to a specific page of the image being displayed in a QPix area