Salience.AddSectionFromFile

<< Salience.AddSection | Back to Salience 6 .Net Index | Salience.GetDocumentDetails >>

Summary

Adds the text from the supplied file into a section of the document for analysis. The supplied text should be UTF-8 encoded, not UTF-16.
This method is a a wrapper around the underlying C API method lxaAddSectionFromFile.

Syntax

public int AddSectionFromFile(string sHeader, string sFile, bool bProcess)

Parameters

sHeader Header or title for the text to be processed
sFile Full path to a readable text file
bProcess Whether to use this text for processing or not

Returns

If successful, an integer return code is returned. Developers should check the integer return code to determine if warnings were issued.

<< Salience.AddSection | Back to Salience 6 .Net Index | Salience.GetDocumentDetails >>