Create the automapping between the variable data in template and the data source. The default threshold of 0.25 is used.

Namespace:  InfigoSDK
Assembly:  InfigoSDK (in InfigoSDK.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static InfigoFieldMapping CreateAutoMapping(
	InfigoTemplate template,
	IInfigoDataSource ds,
	string strTextPropName
)
Visual Basic (Declaration)
Public Shared Function CreateAutoMapping ( _
	template As InfigoTemplate, _
	ds As IInfigoDataSource, _
	strTextPropName As String _
) As InfigoFieldMapping
Visual C++
public:
static InfigoFieldMapping^ CreateAutoMapping(
	InfigoTemplate^ template, 
	IInfigoDataSource^ ds, 
	String^ strTextPropName
)

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.
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.

Return Value

Returns the InfigoFieldMapping object which represents the result of the automapping attempt.

See Also