GetUY Property

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Mar/2016, at 12:25

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.