Function TWPRTFEngineEdit.GetPageWithSelectionEnd : IntegerUnit: WPRTEEditClass: WPRTEEdit.TWPRTFEngineEditReturnsThe type of the result value is Integer. Description The function calculates the page number where the selection ends. The result value is 0 if there is no selection. Also see .