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

# Class ContentAutoCropService

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

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

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

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

```csharp title="Syntax"
public class ContentAutoCropService
```

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

### ContentAutoCropService

```csharp
public ContentAutoCropService(GraphicsContainerService graphicsContainerService)
```

## Methods

### CropToOpaqueContent

```csharp
public ContentAutoCropResult CropToOpaqueContent(GraphicsContainer container)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `Aurigma.GraphicsMill.Drawing.GraphicsContainer` | *container* |  |

##### Returns

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