## Margins structure

Specifies the dimensions of the margins of a node.

```csharp
public struct Margins : IEquatable<Margins>
```

## Constructors

| Name | Description |
| --- | --- |
| [Margins](margins/)(float, float, float, float) | Initializes a new instance of the `Margins` struct with the specified left, right, top, and bottom margins. |

## Properties

| Name | Description |
| --- | --- |
| [Bottom](../../aspose.note/margins/bottom/) { get; set; } | Gets or sets the bottom margin width. |
| [Left](../../aspose.note/margins/left/) { get; set; } | Gets or sets the left margin width. |
| [Right](../../aspose.note/margins/right/) { get; set; } | Gets or sets the right margin width. |
| [Top](../../aspose.note/margins/top/) { get; set; } | Gets or sets the top margin width. |

## Methods

| Name | Description |
| --- | --- |
| [Equals](../../aspose.note/margins/equals/#equals)(Margins) | Tests whether two Margins structures are equal. |
| override [Equals](../../aspose.note/margins/equals/#equals_1)(object) | Tests whether two Margins structures are equal. |
| override [GetHashCode](../../aspose.note/margins/gethashcode/)() | Serves as a hash function for the type. |
| [operator ==](../../aspose.note/margins/op_equality/) | Tests whether two Margins structures are equal. |
| [operator !=](../../aspose.note/margins/op_inequality/) | Tests whether two Margins structures are not equal. |

## Fields

| Name | Description |
| --- | --- |
| static readonly [Empty](../../aspose.note/margins/empty/) | The empty margins. |

### See Also

* namespace [Aspose.Note](../../aspose.note/)
* assembly [Aspose.Note](../../)


