---
title: "RenderHiRes Method (Product, DataSet, RenderingConfig)"
canonical: https://customerscanvas.com/docs/cc6/M_Aurigma_DesignAtoms_Rendering_ProductRenderer_RenderHiRes_3_6cf76a48.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/).

# RenderHiRes Method (Product, DataSet, RenderingConfig)

**Applies to:** Customer's Canvas On-Premises; Design Atoms .NET 6.0.0, 6.x (may differ) · **Archived documentation**
 
Renders a personalized [Product](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_Product.htm.md) to the cache.
 
**Namespace:** [Aurigma.DesignAtoms.Rendering](https://customerscanvas.com/docs/cc6/N_Aurigma_DesignAtoms_Rendering.htm.md) 
 **Assembly:** Aurigma.DesignAtoms (in Aurigma.DesignAtoms.dll)
 
## Syntax
  
```csharp
public IEnumerable<string> RenderHiRes(Product product,DataSet data,RenderingConfig renderingConfig
)
```
 
### Parameters
 
 - product
     - Type: [Aurigma.DesignAtoms.Model.Product](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_Product.htm.md)
A [Product](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_Product.htm.md) used as a template to create personalized copies.

 - data
     - Type: [Aurigma.DesignAtoms.Model.DataSet](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_DataSet.htm.md)
A [DataSet](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_DataSet.htm.md) providing variable data for the personalization. For more details about this parameter, you can refer to the [Rendering Web API](https://customerscanvas.com/docs/cc6/web-api-for-rendering.htm.md) topic.

 - renderingConfig
     - Type: [Aurigma.DesignAtoms.Configuration.RenderingConfig.RenderingConfig](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Configuration_RenderingConfig_RenderingConfig.htm.md)
Rendering properties. When you skip this parameter or pass `null`, the [dafault configuration](https://customerscanvas.com/docs/cc6/configuring-high-resolution-and-proof-images.htm.md) is applied.
 
### Return Value
A collection of image IDs in the cache.
 
### Implements
 
[IProductRenderer.RenderHiRes(Product, DataSet, RenderingConfig)](https://customerscanvas.com/docs/cc6/M_Aurigma_DesignAtoms_Rendering_IProductRenderer_RenderHiRes_3_6cf76a48.htm.md)
 
## Remarks
 This method renders a product based on a [DataSet](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_DataSet.htm.md) - a collection of personalization rules. When you need a simple personalization rule, you can use the [RenderHiRes(Product, SurfaceData, RenderingConfig)](https://customerscanvas.com/docs/cc6/M_Aurigma_DesignAtoms_Rendering_ProductRenderer_RenderHiRes_3_04ddd6f1.htm.md) method allowing you to specify a [SurfaceData](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_SurfaceData.htm.md).
 
## Examples
 You can initialize a [DataSet](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_DataSet.htm.md) and generate personalized hi-res outputs as follows:
```csharp
// Specify the personalization data.
var surfaceData = new List<ItemsData> { new ItemsData
{
    RootItems = new ItemDataCollection
    {
        { "Title", new ItemData {Text = "Premium Printing"} },
        { "CompanyLogo", new ItemData {Image = "https://example.com/logo.svg"} }
    }
}};
// Initialize a data set.
var vdpData = new DataSet()
{
    SurfacesData = new SurfaceDataCollection()
};
// Select surfaces and provide personalization data.
vdpData.SurfacesData.Add(new SurfaceData
{
    SurfaceBinding = new SurfaceBinding(0),
    Data = surfaceData
});

// Instantiate IProductRenderer and render the hi-res output.
var renderer = Injector.Instance.Resolve<IProductRenderer>();
var cacheId = renderer.RenderHiRes(product).First();

// Instantiate IFileCache to retrieve the hi-res output.
var fileCache = Injector.Instance.Resolve<IFileCache>();
// Save the hi-res output to a file.
using (var stream = fileCache.GetReadStream(cacheId))
using (var fileStream = File.Create("product.pdf"))
    stream.CopyTo(fileStream);
```
 
## See Also
  
### Reference
 
- [ProductRenderer Class](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Rendering_ProductRenderer.htm.md)
- [RenderHiRes Overload](https://customerscanvas.com/docs/cc6/O_T_Aurigma_DesignAtoms_Rendering_ProductRenderer_RenderHiRes.htm.md)
- [Aurigma.DesignAtoms.Rendering Namespace](https://customerscanvas.com/docs/cc6/N_Aurigma_DesignAtoms_Rendering.htm.md)

### Manual
 
- [Rendering Products](https://customerscanvas.com/docs/cc6/rendering-products-in-daf.htm.md)
