Function TParagraph.GetRTLCursorPos(position:Integer; x:Integer; h:Integer; w:Integer) : Boolean

Unit: WPRTEDefs
Class: WPRTEDefs.TParagraph

Parameters

  • position:Integer
  • x:Integer
  • h:Integer
  • w:Integer

Returns

The type of the result value is Boolean.

Description

This function returns the cursor offset for a certain position in the paragraph. It will only work (and return TRUE) for paragraphs which use right-to-left writing. The parameter w will be set according to the writing mode.