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

# MarginInfo

## Overview

`MarginInfo` is a class in Aspose.PDF FOSS for .NET.

Represents margin information for page elements.

This class provides 4 methods for working with MarginInfo objects in .NET programs.
Available methods include: `Clone`, `MarginInfo`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `Bottom`, `Left`, `Right`, `Top`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Top` | `double` | Read/Write | Top margin in PDF points. |
| `Bottom` | `double` | Read/Write | Bottom margin in PDF points. |
| `Left` | `double` | Read/Write | Left margin in PDF points. |
| `Right` | `double` | Read/Write | Right margin in PDF points. |

## Methods

| Signature | Description |
|-----------|-------------|
| `MarginInfo()` | Calls MarginInfo on this MarginInfo instance. |
| `MarginInfo(left: double, bottom: double, right: double, top: double)` |  |
| `Clone()` | Shallow clone. |
| `MarginInfo(commonMargin: MarginPartStyle)` |  |

## See Also

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