QPx_SetAreaPage
QPx_SetAreaPage(areaRef; areaRef):error | |||
---|---|---|---|
![]() |
areaRef | Longint | QPix area reference |
![]() |
pageIndex | Longint | Page number |
![]() |
error | Longint | Error result |
Switch to a specific page 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 pageIndex is the number of the page to display. pageIndex ranges from 0 to the total number of pages returned by QPx_CountAreaPages.
Related commands
QPx_CountAreaPages | Get the number of pages of the image being displayed in a QPix area |
QPx_GetAreaPage | Get the number of the page being displayed in a QPix area |