Property

Paragraph.EndPos


Warning

This item was deprecated in version 2019r2. Please use Paragraph.EndPosition as a replacement.

Description

End position of the paragraph (1-based).

Sample code

Bold the last character of the text:

TextArea1.StyledText.Text = "Hello, World!"

' Bold the "!"
Dim endPos As Integer = TextArea1.StyledText.Paragraph(1).EndPos
TextArea1.StyledText.Bold(endPos - 1, 1) = True

Compatibility

All project types on all supported operating systems.