TXTextControl.DocumentServer.DocumentController.Load Method

Loads a document from a file that is used for further processing.

Syntax

[C#]
public bool Load(string filename, DocumentServer.FileFormat documentFormat);
[Visual Basic]
Public Function Load(ByVal filename As String, ByVal documentFormat As DocumentServer.FileFormat) As Boolean
Parameter Description
filename

Specifies the document file to be loaded.

documentFormat

Specifies one of the DocumentServer.FileFormat values.

Return Value

Returns true, if the document was loaded successfully and false, if the document is invalid or could not be loaded properly.

See Also