Function TWPRTFEngineEdit.InitializePaintPages : Integer

Unit: WPRTEEdit
Class: WPRTEEdit.TWPRTFEngineEdit

Returns

The type of the result value is Integer.

Description

This function initializes the array PaintPages using the PaintMode and other options. The text is not initialized, this procedure only distributes the pages from the pages in the formatted text to the array PaintPages. It returns the page count. ReorderPaintPages must be always called after InitializePaintPages unless the text should be only printed