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

# Stamp

## Overview

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

Top-level abstract base for stamps applied to a Page via AddStamp(Stamp).

This class provides 3 methods for working with Stamp objects in .NET programs.
Available methods include: `Put`, `getStampId`, `setStampId`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `Background`, `BottomMargin`, `Height`, `HorizontalAlignment`, `LeftMargin`, `Opacity`, and 13 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Background` | `bool` | Read/Write | Gets or sets the background. |
| `BottomMargin` | `double` | Read/Write | Gets or sets the bottom margin. |
| `Height` | `double` | Read/Write | Gets or sets the height. |
| `HorizontalAlignment` | `HorizontalAlignment` | Read/Write | Gets or sets the horizontal alignment. |
| `LeftMargin` | `double` | Read/Write | Gets or sets the left margin. |
| `Opacity` | `double` | Read/Write | Gets or sets the opacity. |
| `OutlineOpacity` | `double` | Read/Write | Gets or sets the outline opacity. |
| `OutlineWidth` | `double` | Read/Write | Gets or sets the outline width. |
| `RightMargin` | `double` | Read/Write | Gets or sets the right margin. |
| `Rotate` | `Rotation` | Read/Write | Gets or sets the rotate. |
| `RotateAngle` | `double` | Read/Write | Gets or sets the rotate angle. |
| `TopMargin` | `double` | Read/Write | Gets or sets the top margin. |
| `VerticalAlignment` | `VerticalAlignment` | Read/Write | Gets or sets the vertical alignment. |
| `Width` | `double` | Read/Write | Gets or sets the width. |
| `XIndent` | `double` | Read/Write | Gets or sets the x indent. |
| `YIndent` | `double` | Read/Write | Gets or sets the y indent. |
| `Zoom` | `double` | Read/Write | Gets or sets the zoom. |
| `ZoomX` | `double` | Read/Write | Gets or sets the zoom x. |
| `ZoomY` | `double` | Read/Write | Gets or sets the zoom y. |

## Methods

| Signature | Description |
|-----------|-------------|
| `Put(page: Page)` | Apply this stamp to page. |
| `getStampId()` | Calls getStampId on this Stamp instance. |
| `setStampId(value: int)` | Calls setStampId on this Stamp instance. |

## See Also

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