Table of Contents

Method LoadFromFile

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

LoadFromFile(string, RichTextFileType)

Loads content into the control's buffer using the given type.

bool LoadFromFile(string file, RichTextFileType type = RichTextFileType.Any)

Parameters

file string

File name.

type RichTextFileType

File type.

Returns

bool

Remarks

If the specified type is Any, the type is deduced from the filename extension.