---
title: "RegistrationMarkAnnotation"
url: "https://reference.aspose.com/pdf/java/com.aspose.pdf/registrationmarkannotation/"
product: "Aspose.PDF for Java API Reference"
description: "Represents a Registration Mark annotation. Registration marks are symbols added to printing plates or screens to ensure proper alignment of colors during the printing process."
---

**Inheritance:**
java.lang.Object, com.aspose.pdf.BaseParagraph com.aspose.pdf.Annotation com.aspose.pdf.PrinterMarkAnnotation com.aspose.pdf.RegistrationMarkAnnotation, com.aspose.pdf.BaseParagraph, com.aspose.pdf.Annotation com.aspose.pdf.PrinterMarkAnnotation com.aspose.pdf.RegistrationMarkAnnotation, com.aspose.pdf.Annotation, com.aspose.pdf.PrinterMarkAnnotation com.aspose.pdf.RegistrationMarkAnnotation, com.aspose.pdf.PrinterMarkAnnotation, com.aspose.pdf.RegistrationMarkAnnotation

**All Implemented Interfaces:**
com.aspose.ms.System.ICloneable

```
public final class RegistrationMarkAnnotation extends PrinterMarkAnnotation
```

Represents a Registration Mark annotation. Registration marks are symbols added to printing plates or screens to ensure proper alignment of colors during the printing process.

## Constructors

| Constructor | Description |
| --- | --- |
| [RegistrationMarkAnnotation](#RegistrationMarkAnnotation-com.aspose.pdf.Page-com.aspose.pdf.PrinterMarkSidePosition-) | Initializes a new instance of the {@link RegistrationMarkAnnotation} class on the given page in the given location. |

## Methods

| Method | Description |
| --- | --- |
| [accept](#accept-com.aspose.pdf.AnnotationSelector-) | Accepts visitor for annotation processing. |
| [getAnnotationType](#getAnnotationType--) | Gets type of annotation. |
| [getPosition](#getPosition--) | Gets or sets the position of the registration mark on a page. |
| [setPosition](#setPosition-com.aspose.pdf.PrinterMarkSidePosition-) | Gets or sets the position of the registration mark on a page. |

### RegistrationMarkAnnotation {#RegistrationMarkAnnotation-com.aspose.pdf.Page-com.aspose.pdf.PrinterMarkSidePosition-}
Initializes a new instance of the {@link RegistrationMarkAnnotation} class on the given page in the given location.

### accept {#accept-com.aspose.pdf.AnnotationSelector-}
Accepts visitor for annotation processing.

### getAnnotationType {#getAnnotationType--}
```
public AnnotationType getAnnotationType()
```

Gets type of annotation.

**Returns:**
int value

### getPosition {#getPosition--}
```
public final PrinterMarkSidePosition getPosition()
```

Gets or sets the position of the registration mark on a page.

**Returns:**
PrinterMarkSidePosition element

### setPosition {#setPosition-com.aspose.pdf.PrinterMarkSidePosition-}
Gets or sets the position of the registration mark on a page.
