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

Load(String, DocumentServer.FileFormat)

public bool Load(string filename, DocumentServer.FileFormat documentFormat);
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.