[]
        
(Showing Draft Content)

C1.C1Preview.RenderRichText.Load

Load Method

Load(string)

Loads the content of the current RenderRichText from a disk file containing RTF-formatted data.

Declaration
public void Load(string fileName)
Public Sub Load(fileName As String)
Parameters
Type Name Description
string fileName

The name of the file to load.

Load(string, RichTextBoxStreamType)

Loads the content of the current RenderRichText from a disk file containing data in a specified format.

Declaration
public void Load(string fileName, RichTextBoxStreamType streamType)
Public Sub Load(fileName As String, streamType As RichTextBoxStreamType)
Parameters
Type Name Description
string fileName

The name of the file to load.

RichTextBoxStreamType streamType

The type of data in the file.

Load(Stream)

Loads the content of the current RenderRichText from a stream containing RTF-formatted data.

Declaration
public void Load(Stream stream)
Public Sub Load(stream As Stream)
Parameters
Type Name Description
Stream stream

The stream to load data from.

Load(Stream, RichTextBoxStreamType)

Loads the content of the current RenderRichText from a stream containing data in a specified format.

Declaration
public void Load(Stream stream, RichTextBoxStreamType streamType)
Public Sub Load(stream As Stream, streamType As RichTextBoxStreamType)
Parameters
Type Name Description
Stream stream

The stream to load data from.

RichTextBoxStreamType streamType

The type of data in the stream.