TXTextControl.DocumentServer.DocumentController.LoadFromMemory Method

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

Syntax

[C#]
public bool LoadFromMemory(object document, DocumentServer.FileFormat documentFormat);
[Visual Basic]
Public Function LoadFromMemory(ByVal document As Object, ByVal documentFormat As DocumentServer.FileFormat) As Boolean
Parameter Description
document

Specifies a document memory variable from which the data is 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