---
title: "Class Configuration | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Configuration/Configuration/"
---

# Class Configuration

> **Inheritance:** `System.Object` -> Configuration

###### **Namespace**: [Aurigma.DesignAtoms.Configuration](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Configuration.md)

###### **Assembly**: Aurigma.DesignAtoms.dll

```csharp title="Syntax"
public class Configuration : IConfiguration
```

## Implements

* [Aurigma.DesignAtoms.Configuration.IConfiguration](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Configuration/IConfiguration.md)

## Inherited Members

* `System.Object.ToString`
* `System.Object.Equals(System.Object)`
* `System.Object.Equals(System.Object,System.Object)`
* `System.Object.ReferenceEquals(System.Object,System.Object)`
* `System.Object.GetHashCode`
* `System.Object.GetType`
* `System.Object.MemberwiseClone`

## Constructors

### Configuration

```csharp
public Configuration()
```

### Configuration

```csharp
public Configuration(IApplicationEnvironment applicationEnvironment)
```

### Configuration

```csharp
public Configuration(IApplicationEnvironment applicationEnvironment, IConfigurationReader configurationReader)
```

## Properties

### GrayscaleColorProfileFileName

```csharp
public string GrayscaleColorProfileFileName { get; }
```

### RgbColorProfileFileName

```csharp
public string RgbColorProfileFileName { get; }
```

### CmykColorProfileFileName

```csharp
public string CmykColorProfileFileName { get; }
```

### AllowDownloadImageToCache

```csharp
public bool AllowDownloadImageToCache { get; }
```

### FontSubstitutionEnabled

```csharp
public bool FontSubstitutionEnabled { get; set; }
```

### NotFoundGlyphRemovalEnabled

```csharp
public bool NotFoundGlyphRemovalEnabled { get; set; }
```

### PdfRenderDeviceProfileEnabled

```csharp
public bool PdfRenderDeviceProfileEnabled { get; set; }
```

### PdfRenderKeepOriginalColors

```csharp
public bool PdfRenderKeepOriginalColors { get; set; }
```

### PsdTextBoxWorkaroundEnabled

```csharp
public bool PsdTextBoxWorkaroundEnabled { get; set; }
```

### GetDefaultRichTextStyleFromLastChar

```csharp
public bool GetDefaultRichTextStyleFromLastChar { get; set; }
```

### IdmlFixDescenderEnabled

```csharp
public bool IdmlFixDescenderEnabled { get; set; }
```

### InterpretEmptyGraphicFrameAsImagePlaceholder

```csharp
public bool InterpretEmptyGraphicFrameAsImagePlaceholder { get; set; }
```

### UseHiResDpiForPdfResize

```csharp
public bool UseHiResDpiForPdfResize { get; set; }
```

### PreferParsingToColorLessContainer

```csharp
public bool PreferParsingToColorLessContainer { get; set; }
```

### SepiaAlgorithm

```csharp
public SepiaAlgorithm SepiaAlgorithm { get; set; }
```

### UseAnisotropic9ResizeMode

```csharp
public bool UseAnisotropic9ResizeMode { get; set; }
```

### TempDirectory

```csharp
public string TempDirectory { get; }
```

### ColorProfilesDirectory

```csharp
public string ColorProfilesDirectory { get; }
```

### FontDirectory

```csharp
public string FontDirectory { get; }
```

### Converters

```csharp
public List<ConverterElement> Converters { get; }
```

### PdfHiResRasterizeVectorLayers

```csharp
public bool PdfHiResRasterizeVectorLayers { get; set; }
```

### IgnoreInDesignMissingLinks

```csharp
public bool IgnoreInDesignMissingLinks { get; set; }
```

### StaticStoragePath

```csharp
public string StaticStoragePath { get; }
```

### SubstitutionFontPostScriptName

```csharp
public string SubstitutionFontPostScriptName { get; set; }
```

### DefaultColorOverlayBlendMode

```csharp
public BlendMode DefaultColorOverlayBlendMode { get; set; }
```

### UseInDesignLockedState

```csharp
public bool UseInDesignLockedState { get; set; }
```

### UseInDesignVisibleState

```csharp
public bool UseInDesignVisibleState { get; set; }
```

### UseInDesignPageAsPrintArea

```csharp
public bool UseInDesignPageAsPrintArea { get; set; }
```

### LegacyIdmlBleedParsingEnabled

```csharp
public bool LegacyIdmlBleedParsingEnabled { get; set; }
```

### FlattenGroups

```csharp
public bool FlattenGroups { get; set; }
```

### GlobalWrappingMargin

```csharp
public float? GlobalWrappingMargin { get; }
```

### LegacyTextEngineEnabled

```csharp
public bool LegacyTextEngineEnabled { get; set; }
```

### ForceLegacyTextRendering

```csharp
public bool ForceLegacyTextRendering { get; }
```

### PreferredFallbackFonts

```csharp
public string PreferredFallbackFonts { get; set; }
```

### DefaultColorOverlayOpacity

```csharp
public float DefaultColorOverlayOpacity { get; set; }
```

### DefaultPlaceholderCoverModeEnabled

```csharp
public bool DefaultPlaceholderCoverModeEnabled { get; set; }
```

### RasterizeVectorInSmartFrame

```csharp
public bool RasterizeVectorInSmartFrame { get; set; }
```

### LoadFontListAsPostScriptNames

```csharp
public bool LoadFontListAsPostScriptNames { get; set; }
```

### RenderingMemoryStreamMaxSize

```csharp
public long RenderingMemoryStreamMaxSize { get; set; }
```

### PdfTextOutputMode

```csharp
public PdfTextOutputMode PdfTextOutputMode { get; }
```

### LegacyBlackAndWhiteEffectEnabled

```csharp
public bool LegacyBlackAndWhiteEffectEnabled { get; }
```

### LegacyColorizeEffectEnabled

```csharp
public bool LegacyColorizeEffectEnabled { get; }
```

### EnableCachingStateResources

```csharp
public bool EnableCachingStateResources { get; }
```

### EnableCachingArtifacts

```csharp
public bool EnableCachingArtifacts { get; }
```

### EnableCachingStaticFiles

```csharp
public bool EnableCachingStaticFiles { get; }
```

## Methods

### Setup

```csharp
public static void Setup(bool enableCors = false, IEnumerable<Assembly> controllerAssemblies = null, TypeRegistrationOrderedDict additionalBindings = null, bool enableMappingAttributeRoutes = true)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.Boolean` | *enableCors* |  |
| `System.Collections.Generic.IEnumerable<System.Reflection.Assembly>` | *controllerAssemblies* |  |
| [Aurigma.DesignAtoms.Configuration.TypeRegistrationOrderedDict](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Configuration/TypeRegistrationOrderedDict.md) | *additionalBindings* |  |
| `System.Boolean` | *enableMappingAttributeRoutes* |  |

## Fields

### MAIN_CONTAINER_NAME

```csharp
public static readonly string MAIN_CONTAINER_NAME
```

### BG_CONTAINER_NAME

```csharp
public static readonly string BG_CONTAINER_NAME
```

### FG_CONTAINER_NAME

```csharp
public static readonly string FG_CONTAINER_NAME
```

### BG_SOLIDCOLOR

```csharp
public static readonly string BG_SOLIDCOLOR
```

### SPINE_AND_FOLDING_CONTAINER_NAME

```csharp
public static readonly string SPINE_AND_FOLDING_CONTAINER_NAME
```
