> For the complete documentation index, see [llms.txt](https://docs.dbnetsoft.com/dbnetsoft/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dbnetsoft.com/dbnetsoft/screenspro/controls/outlinetextelement.md).

# OutlineTextElement

This element draws a text as a shape, so that it can be outlined and filled like any other WPF shape.

Because it is a `Shape`, the look of the text comes from the standard shape properties: `Stroke` and `StrokeThickness` draw the outline, `Fill` fills the letters.

## Properties

| Name          | Type        | Description                                          |
| ------------- | ----------- | ---------------------------------------------------- |
| `Text`        | String      | The text to draw.                                    |
| `Origin`      | Point       | Corner the text geometry is built at. Default `0,0`. |
| `FontFamily`  | FontFamily  | Font of the text.                                    |
| `FontSize`    | Double      | Size of the text.                                    |
| `FontStyle`   | FontStyle   | For example `Italic`.                                |
| `FontWeight`  | FontWeight  | For example `Bold`.                                  |
| `FontStretch` | FontStretch | For example `Condensed`.                             |

## Example

```xml
<controls:OutlineTextElement Text="CHAMPION"
                             FontFamily="Arial Black" FontSize="80"
                             Fill="Gold" Stroke="Black" StrokeThickness="2" />
```
