TSRichViewEdit.CalculatePagePosition

<< Click to display table of contents >>

TSRichViewEdit.CalculatePagePosition

Recalculates position, zooming and Z-order for the specified page.

function CalculatePagePosition(PageNo : Integer): Boolean;

PageNo is a page index, from 1.

This method calls OnGetPagePos event for this page.

This event is used only if ViewProperty.FreePosPage = True. Usually page positions are calculated automatically. Call this method if you want to recalculate them for the existing page.

Z-orders are recalculated only if PageProperty.UsePageOrders = True.

See also:

CalculateAllPagePositions