Description
Returns the name of the color of the nIdx underline.
A string like 'K' (for black) or 'PANTONE 2560 CV'.
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.GetUColor (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.GetUColor(0)
Remarks
The similar functionality is available in object returned by Text.GetTextStatus, Text.GetParaTextStatus and Text.GetDefaultTextStatus functions. See TextStatus Object.