Customer's Canvas is honored with a 2020 InterTech Technology Award! Learn more 

FromIdml Method

Loads a multipage IDML template and converts it to a multipage Product.

Namespace: Aurigma.DesignAtoms.Convert
Assembly: Aurigma.DesignAtoms (in Aurigma.DesignAtoms.dll)

Syntax

C#
            Product FromIdml(
	string filename
)

Parameters

filename

Type: System.String

The file name of an IDML template. This file name does not include an extension.

Return Value

A Product instance.

Examples

C#
using Aurigma.DesignAtoms.Configuration;
using Aurigma.DesignAtoms.Convert;
Injector.CurrentFactory = () => DefaultInjectorFactory.Create();
var parser = Injector.Instance.Resolve<ITemplateParser>();
var product = parser.FromIdml("invitation.idml");

See Also

Reference