WoW:API ItemTextGetPage: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API ItemTextGetPage to API ItemTextGetPage without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<center>'''ItemTextGetPage''' - ''Documentation by [[User:Flickering|Flickering]]''</center>
{{wowapi}}


Get the number of the current item text page.
Get the number of the current item text page.
Line 20: Line 20:
----
----
__NOTOC__
__NOTOC__
{{Template:WoW API}}
[[Category:API Functions|ItemTextGetPage]]
[[Category:API Item Text Functions|ItemTextGetPage]]

Latest revision as of 04:46, 15 August 2023

WoW API < ItemTextGetPage

Get the number of the current item text page.

pageNum = ItemTextGetPage()

Parameters[edit]

Arguments[edit]

()

Returns[edit]

pageNum
pageNum
Number - The page number of the currently displayed page, starting at 1.

Details[edit]

This is used one the ITEM_TEXT_READY event has been received for a page.
Note that there is no function to return the total number of pages of the text, it must be found by iterating through until ItemTextHasNextPage returns nil.