Click or drag to resize

TextBufferExtensionsSetRtf Method

Sets the content of the buffer to the specified rtf string. Note that some platforms don't support RTF (e.g. Gtk).

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
public static void SetRtf(
	this ITextBuffer buffer,
	string rtf


Type: Eto.FormsITextBuffer
Buffer to set the content for
Type: SystemString
RTF formatted string to set the buffer

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ITextBuffer. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
The CaretIndex and Selection will be set to the end of the string after set.
See Also