<summary>
Get the underline presence where the current position is at.
</summary>
<param name="currentPosition">The current text position.</param>
<param name="hasUnderline">The Boolean flag indicates whether text is underlined.</param>
<param name="textRange">The position range of the current format.</param>
<returns>
Standard HRESULT error code.
</returns>
<summary> Get the underline presence where the current position is at. </summary> <param name="currentPosition">The current text position.</param> <param name="hasUnderline">The Boolean flag indicates whether text is underlined.</param> <param name="textRange">The position range of the current format.</param> <returns> Standard HRESULT error code. </returns>