# TextBufferExtensions class

Namespace: [Eto.Forms](https://eto.picoe.ca/api/namespace/eto.forms.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
public static class TextBufferExtensions
```

Extensions for [ITextBuffer](https://eto.picoe.ca/api/type/eto.forms.itextbuffer.md)

## Methods

- [GetRtf](https://eto.picoe.ca/api/type/eto.forms.textbufferextensions/getrtf.md): (static) Gets the content of the specified buffer as an RTF formatted string. Note that some platforms don't support RTF (e.g. Gtk).
- [SetRtf](https://eto.picoe.ca/api/type/eto.forms.textbufferextensions/setrtf.md): (static) Sets the content of the buffer to the specified `rtf` string. Note that some platforms don't support RTF (e.g. Gtk).
