---
title: "RenderHiRes Method (Product, RenderingConfig)"
canonical: https://customerscanvas.com/docs/cc6/M_Aurigma_DesignAtoms_Rendering_IProductRenderer_RenderHiRes_2_de0d1c0b.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, RenderingConfig)

**Applies to:** Customer's Canvas On-Premises; Design Atoms .NET 6.0.0, 6.x (may differ) · **Archived documentation**
 
Renders a [Product](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_Product.htm.md) to the cache
 
Generates a collection of image IDs in the cache, which represent hi-res outputs for single pages of the [Product](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_Product.htm.md).
 
**Namespace:** [Aurigma.DesignAtoms.Rendering](https://customerscanvas.com/docs/cc6/N_Aurigma_DesignAtoms_Rendering.htm.md) 
 **Assembly:** Aurigma.DesignAtoms (in Aurigma.DesignAtoms.dll)
 
## Syntax
  
```csharp
            IEnumerable<string> RenderHiRes(Product product,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) to render.

 - 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. To retrieve images by IDs, you can use the GetReadStream() method.
 
## Examples
  
```csharp
// Instantiate IProductRenderer.
var renderer = Injector.Instance.Resolve<IProductRenderer>();
// Get the identifier of the first rendered page.
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
 
- [IProductRenderer Interface](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Rendering_IProductRenderer.htm.md)
- [RenderHiRes Overload](https://customerscanvas.com/docs/cc6/O_T_Aurigma_DesignAtoms_Rendering_IProductRenderer_RenderHiRes.htm.md)
- [Aurigma.DesignAtoms.Rendering Namespace](https://customerscanvas.com/docs/cc6/N_Aurigma_DesignAtoms_Rendering.htm.md)
