---
Product: Aspose.PDF
Platform: go
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/go/margininfo
---

# MarginInfo

## Overview

`MarginInfo` is a type in Aspose.PDF FOSS for Go.

MarginInfo describes margins or padding in points: Top / Right / Bottom / Left.

Properties: `Bottom`, `Left`, `Right`, `Top`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Top` | `float64` | Read/Write | Gets the top. |
| `Right` | `float64` | Read/Write | Gets the right. |
| `Bottom` | `float64` | Read/Write | Gets the bottom. |
| `Left` | `float64` | Read/Write | Gets the left. |

## See Also

- [Aspose.PDF — Enterprise API Reference](https://reference.aspose.com/pdf/)