---
title: "RenderHiRes Method (Product, SurfaceData, RenderingConfig)"
canonical: https://customerscanvas.com/docs/cc6/M_Aurigma_DesignAtoms_Rendering_ProductRenderer_RenderHiRes_3_04ddd6f1.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, SurfaceData, 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,SurfaceData 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.SurfaceData](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_SurfaceData.htm.md)
A [SurfaceData](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_SurfaceData.htm.md) providing variable data and selecting surfaces for the personalization.

 - 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, SurfaceData, RenderingConfig)](https://customerscanvas.com/docs/cc6/M_Aurigma_DesignAtoms_Rendering_IProductRenderer_RenderHiRes_3_04ddd6f1.htm.md)
 
## Remarks
 This method renders a product based on a single [SurfaceData](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_SurfaceData.htm.md). When you need a more complex personalization rule, you can use the [RenderHiRes(Product, DataSet, RenderingConfig)](https://customerscanvas.com/docs/cc6/M_Aurigma_DesignAtoms_Rendering_ProductRenderer_RenderHiRes_3_6cf76a48.htm.md) method allowing you to specify a collection of [SurfaceData](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_SurfaceData.htm.md).
 
## Examples
 You can initialize a [SurfaceData](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_SurfaceData.htm.md) and generate personalized hi-res outputs as follows:
```csharp
// Define personalization data.
var surfaceData = new SurfaceData()
{
    // Render the third page only.
    SurfaceBinding = new SurfaceBinding(2),
    Data = new List<ItemsData> { new ItemsData
    {
        // Replace the Company and Logo fields.
        RootItems = new ItemDataCollection
        {
            {"Company", new ItemData {Text = "CA Printing"}},
            {"Logo", new ItemData {Image = "https://example.com/images/logo.svg"}}
        }
    }}
};

// Render the page to the file cache.
var renderer = Injector.Instance.Resolve<IProductRenderer>();
var cacheID = renderer.RenderHiRes(product, surfaceData).First();

// Save the pages to a file.
var fileCache = Injector.Instance.Resolve<IFileCache>();
using (var stream = fileCache.GetReadStream(cacheID))
using (var fileStream = File.Create($"{cacheID}"))
    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)
