TE Edit Control Win32 / Win64 Help
Product page

TerRepaginate

Repaginate the document.

int TerRepaginate(hWnd, repaint)
HWND hWnd;Handle of the window to be accessed
BOOL repaint;TRUE to repaint the document after this operation

Description: This function rewraps and repaginates a document. This function should be used instead of the TerRewrap function in the PrintView, Page mode, and Fitted View modes.

Return Value: The function returns TRUE when successful