Function TWPCustomRtfEdit.ScreenToRTFPage(ScreenX:Integer; ScreenY:Integer; X:Integer; Y:Integer; RTFPageNr:Integer; IgnoreX:Boolean) : Boolean

Unit: WPCTRMemo
Class: WPCTRMemo.TWPCustomRtfEdit

Parameters

  • ScreenX:Integer
  • ScreenY:Integer
  • X:Integer
  • Y:Integer
  • RTFPageNr:Integer
  • IgnoreX:Boolean

Returns

The type of the result value is Boolean.

Description

Converts the Screen X,Y Position to a RTF-Page Nr and Position on this Page which uses the resolution which was used to initialize the text.