GetTextPageScreenRect method

Applies to
TWPRTFEnginePaint

Declaration
function GetTextPageScreenRect(par: TParagraph; posinpar: Integer; var x, y, w, h: Integer; pagenr: Integer = -1): TWPVirtPage;

Description
This function calculates the rectangle of a certain page in screen ccordinates. It is used by the ruler to display the current page area. It returns a reference to the RTF-Page which can be useful to retieve the margin values which are effective for this page


Copyright (C) by WPCUBED GmbH - Munich
http://www.wpcubed.com