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

# Re

## Overview

`Re` is a class in Aspose.PDF FOSS for .NET.
Inherits from: `Operator`.

re — Append rectangle (X, Y, Width, Height) as a complete subpath.

This class provides 7 methods for working with Re objects in .NET programs.
Available methods include: `Accept`, `IsTextShowOperator`, `Re`, `ToPdf`, `ToString`, `ValueEquals`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `CommandName`, `Height`, `Index`, `Width`, `X`, `Y`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `X` | `double` | Read/Write | Gets or sets the x. |
| `Y` | `double` | Read/Write | Gets or sets the y. |
| `Width` | `double` | Read/Write | Gets or sets the width. |
| `Height` | `double` | Read/Write | Gets or sets the height. |
| `CommandName` | `string` | Read | The PDF command name (last token of the serialised form, e.g. |
| `Index` | `int` | Read/Write | 1-based position of this operator within its containing OperatorCollection. |

## Methods

| Signature | Description |
|-----------|-------------|
| `Re()` | Calls Re on this Re instance. |
| `Re(x: double, y: double, width: double, height: double)` |  |
| `ToPdf()` | Calls ToPdf on this Re instance. |
| `ToString()` | Calls ToString on this Re instance. |
| `Accept(visitor: IOperatorSelector)` | Calls Accept on this Re instance. |
| `IsTextShowOperator(op: Operator)` | True when op is a text-showing operator (Tj / TJ / ' / " — concrete subclasses of TextShowOperator). |
| `ValueEquals(op: Operator)` | True when this operator's serialised PDF form equals op's. |

## See Also

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