Create the automapping between the variable data in template and the data source.
Namespace:
InfigoSDKAssembly: InfigoSDK (in InfigoSDK.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public static InfigoFieldMapping CreateAutoMapping( InfigoTemplate template, IInfigoDataSource ds, double fThreshold, string strTextPropName, bool bFillAll ) |
Visual Basic (Declaration) |
---|
Public Shared Function CreateAutoMapping ( _ template As InfigoTemplate, _ ds As IInfigoDataSource, _ fThreshold As Double, _ strTextPropName As String, _ bFillAll As Boolean _ ) As InfigoFieldMapping |
Visual C++ |
---|
public: static InfigoFieldMapping^ CreateAutoMapping( InfigoTemplate^ template, IInfigoDataSource^ ds, double fThreshold, String^ strTextPropName, bool bFillAll ) |
Parameters
- template
- Type: InfigoSDK..::.InfigoTemplate
The template containing the variable parts.
- ds
- Type: InfigoSDK..::.IInfigoDataSource
The data source which scheme is used for the mapping.
- fThreshold
- Type: System..::.Double
The threshold which is used for the similarity measure.
- strTextPropName
- Type: System..::.String
An optional name for the property which is used to do the mapping. If null or empty, the field name is used instead.
- bFillAll
- Type: System..::.Boolean
If set, all variable parts without a proper mapping will be added as static mappings