# Sandbox.Resources.ImageFileGenerator.Padding

```csharp
Margin Padding { get; set; }
```

How many pixels of padding from each edge. After the image has been cropped,
padding is added without affecting the size of the image (scaling the original image down to fit padded margins).

Declared in [Sandbox.Resources.ImageFileGenerator](/api/Sandbox.Resources.ImageFileGenerator).
Assembly: `Sandbox.Engine`.
