Function TWPCustomRtfEdit.CountPages : IntegerUnit: WPCTRMemoClass: WPCTRMemo.TWPCustomRtfEditReturnsThe type of the result value is Integer. Description Count the pages in the text