WPTools Manual



Search


(press enter to search)

Function TWPRTFEngineEdit.GetPageWithParEx(par:TParagraph; pos_in_par:Integer; rtfdata:TWPRTFDataBlock; rtfpagenr:Integer) : Integer

Unit: WPRTEEdit
Class: WPRTEEdit.TWPRTFEngineEdit

Parameters

Returns

The type of the result value is Integer.

Description

This function returns the page number of a certain position in the text. The result is -1 if the page is not visible since it is shown by a different editor. In this case the passed variable rtfpagenr can still be used to read the page number