---
title: "RenderHiRes Method (PrintArea, RenderingConfig)"
canonical: https://customerscanvas.com/docs/cc6/M_Aurigma_DesignAtoms_Rendering_ProductRenderer_RenderHiRes_2_d9d6b1e0.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 (PrintArea, RenderingConfig)

**Applies to:** Customer's Canvas On-Premises; Design Atoms .NET 6.0.0, 6.x (may differ) · **Archived documentation**
 
Renders a [PrintArea](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_PrintArea.htm.md) to the cache.
 
Generates an image ID in the cache, which represents the hi-res output for the specified [PrintArea](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_PrintArea.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
public string RenderHiRes(PrintArea printArea,RenderingConfig renderingConfig
)
```
 
### Parameters
 
 - printArea
     - Type: [Aurigma.DesignAtoms.Model.PrintArea](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_PrintArea.htm.md)
A [PrintArea](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_PrintArea.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
An ID of the hi-res output for the specified [PrintArea](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Model_PrintArea.htm.md). To retrieve the image by ID, you can use the GetReadStream() method.
 
### Implements
 
[IProductRenderer.RenderHiRes(PrintArea, RenderingConfig)](https://customerscanvas.com/docs/cc6/M_Aurigma_DesignAtoms_Rendering_IProductRenderer_RenderHiRes_2_d9d6b1e0.htm.md)
 
## Examples
  
```csharp
// Create a print area.
var product = new Product();
var surface = new Surface(330, 600);
product.Surfaces.Add(surface);
var printArea = new PrintArea(new RectangleF(0, 0, surface.Width, surface.Height));
surface.PrintAreas.Add(printArea);

// Instantiate IProductRenderer.
var renderer = Injector.Instance.Resolve<IProductRenderer>();
// Get the identifier of the rendered print area.
var cacheId = renderer.RenderHiRes(printArea);

// 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("printarea.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)
