<div class="meta" robots="noindex">

</div>

Property

# Paragraph.EndPos

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2019r2. Please use `Paragraph.EndPosition<paragraph.endposition>` as a replacement.

</div>

## Description

End position of the paragraph (1-based).

## Sample code

Bold the last character of the text:

``` xojo
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.
