Salience.AddSection

<< Salience.PrepareTextFromFile | Back to Salience 6 .Net Index | Salience.AddSectionFromFile >>

Summary

Adds the supplied text 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 lxaAddSection.

Syntax

public int AddSection(string sHeader, string sText, bool bProcess)

Parameters

sHeader Header or title for the text to be processed
sText The text to be processed
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.PrepareTextFromFile | Back to Salience 6 .Net Index | Salience.AddSectionFromFile >>