---
title: "Class BarcodeContentEncoding | Customer&#x27;s Canvas"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Services/BarcodeContentEncoding/"
archived: false
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Atoms .NET"
    versions: ["7.0 - 7.4"]
---

# Class BarcodeContentEncoding

**Applies to:** Customer's Canvas On-Premises; Design Atoms .NET 7.0 - 7.4

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

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

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

```csharp title="Syntax"
public static class BarcodeContentEncoding
```

## 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`

## Methods

### Sanitize

```csharp
public static string Sanitize(string content)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.String` | *content* |  |

##### Returns

`System.String`

### ApplyCharacterSet

```csharp
public static void ApplyCharacterSet(EncodingOptions options)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `ZXing.Common.EncodingOptions` | *options* |  |
