GetPageWithPar method

Applies to
TWPRTFEnginePaint

Overloaded Variants
Function GetPageWithPar(par: TParagraph; pos_in_par: Integer; var rtfdata: TWPRtfDataBlock): Integer;
Function GetPageWithPar(par: TParagraph; pos_in_par: Integer): Integer;

Declaration
function GetPageWithPar(par: TParagraph; pos_in_par: Integer; var rtfdata: TWPRtfDataBlock): Integer;

Description
Searches for the paintpage which hosts this paragraph at the given position. If the paragraph belongs to a special text this value is set in the optional rtfdata parameter. Otherwise the rtfdata is set to nil

Declaration
function GetPageWithPar(par: TParagraph; pos_in_par: Integer): Integer;


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