GetFieldAnalysisSettings
This method returns the analysis settings for the document class.
Syntax
GetFieldAnalysisSettings (FieldName as String, Language as String, ppAnalysisSettings as ISCBCdrAnalysisSettings)
Parameter | Description |
---|---|
FieldName | Name of the field for which the analysis settings are retrieved. |
ppAnalysisSettings | Name of the analysis settings object used in the code to assign the settings to. |
Sample Code
The following sample code shows how to get the analysis settings.
'To assign them for example to be used for the Associative Search Engine
Dim theDocClass as SCBCdrDocClass
Dim theAnalysisSettings as ISCBCdrAnalysisSettings
Dim theSupplierSettings as Object
Set theDocClass=Project.AllClasses.ItemByName (pWorkdoc.DocClassName)
'Get the settings for the field VendorName
theDocClass.GetFieldAnalysisSettings "VendorName","German", theAnalysisSettings
Set theSupplierSettings = theAnalysisSettings