## Margins class


This class encapsulates top, left, bottom and right margins.

```cpp
class Margins : public System::Object
```

## Methods

| Method | Description |
| --- | --- |
| [Equals](./equals/)(System::SharedPtr\<System::Object\>) override | Compares this margins with other. |
| [GetHashCode](./gethashcode/)() const override | Calculates hashcode for this margins object. |
| [Margins](./margins/)(int32_t, int32_t, int32_t, int32_t) | Initializes an instance of Margin class. |
| [set](./set/)(int32_t, int32_t, int32_t, int32_t) | Specifies margins values. |
| [ToString](./tostring/)() const override | Make up a string representing this margins object. |
## See Also

* Class [Object](../../system/object/)
* Namespace [Aspose::Page](../)
* Library [Aspose.Page for C++](../../)
