Description
Returns the vertical position in millipoints of the nIdx underline. 0 correspond to the baseline, positive values are under the baseline.
The value nIdx must be between 0 (first underline) and NUnderlines-1 (last defined underline). A run-time error occurs if nIdx is outside the valid range.
Syntax
object.GetUY(nIdx) |
object
Required. Object name, returned by objCursor created through Text.GetCursor.
Example
Dim objCur = Text.GetCursor(modeSrcOn,cposCursor,False)
Dim objdesc As TxtPosDesc = objCur.GetDesc
Value = objDesc.GetUY(0)
Remarks
The similar functionality is available in object returned by Text.GetTextStatus, Text.GetParaTextStatus and Text.GetDefaultTextStatus functions. See TextStatus Object.