---
title: "FromIdml Method "
canonical: https://customerscanvas.com/docs/cc6/M_Aurigma_DesignAtoms_Convert_ITemplateParser_FromIdml_1_bb3a7a4f.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Atoms .NET"
    versions: ["6.0.0", "6.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# FromIdml Method 

**Applies to:** Customer's Canvas On-Premises; Design Atoms .NET 6.0.0, 6.x (may differ) · **Archived documentation**
 
Loads a multipage IDML template and converts it to a multipage [Product](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_Product.htm.md).
 
**Namespace:** [Aurigma.DesignAtoms.Convert](https://customerscanvas.com/docs/cc6/N_Aurigma_DesignAtoms_Convert.htm.md) 
 **Assembly:** Aurigma.DesignAtoms (in Aurigma.DesignAtoms.dll)
 
## Syntax
  
```csharp
            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](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_Product.htm.md) instance.
 
## Examples
  
```csharp
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
 
- [ITemplateParser Interface](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Convert_ITemplateParser.htm.md)
- [Aurigma.DesignAtoms.Convert Namespace](https://customerscanvas.com/docs/cc6/N_Aurigma_DesignAtoms_Convert.htm.md)
