Function TWPPaintEngine.PageCount : IntegerUnit: WPCTRMemoClass: WPCTRMemo.TWPPaintEngineReturnsThe type of the result value is Integer. Description Counts the pages in the document. The text must be formatted with .