# Sandbox.Resources.ImageFileGenerator.Cropping

```csharp
Margin Cropping { get; set; }
```

How many pixels from each edge to crop from the image. If negative values are used, the image will be expanded instead of cropped.

Declared in [Sandbox.Resources.ImageFileGenerator](/api/Sandbox.Resources.ImageFileGenerator).
Assembly: `Sandbox.Engine`.
