WoW:API ItemTextGetPage: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
 
mNo edit summary
Line 16: Line 16:
: This is used one the ITEM_TEXT_READY event has been received for a page.
: 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 [[API ItemTextHasNext|ItemTextHasNext]] returns nil.
: Note that there is no function to return the total number of pages of the text, it must be found by iterating through until [[API ItemTextHasNextPage|ItemTextHasNextPage]] returns nil.


----
----
__NOTOC__
__NOTOC__
{{Template:WoW API}}
{{Template:WoW API}}
[[Category:API Functions|ItemTextGetPage]]
[[Category:API Item Text Functions|ItemTextGetPage]]
[[Category:API Item Text Functions|ItemTextGetPage]]

Revision as of 18:34, 29 August 2005

ItemTextGetPage - Documentation by Flickering

Get the number of the current item text page.

pageNum = ItemTextGetPage()

Parameters

Arguments

()

Returns

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

Details

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.

Template:WoW API