Click or drag to resize

TextBufferExtensionsGetRtf Method

Gets the content of the specified buffer as an RTF formatted 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
Syntax
public static string GetRtf(
	this ITextBuffer buffer
)

Parameters

buffer
Type: Eto.FormsITextBuffer
Buffer to get the content from.

Return Value

Type: String
The content of the buffer in RTF format.

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).
See Also