---
title: "PdfMarkElement"
description: "Namespace: Lacuna.RestPki.Client"
canonical: "https://docs.lacunasoftware.com/api/Lacuna.RestPki.Client/PdfMarkElement"
locale: "pt-BR"
product: "PKI SDK"
last_updated: "2026-06-02"
---

# PdfMarkElement

**Namespace:** `Lacuna.RestPki.Client`  
**Assembly:** `Lacuna.RestPki.Client`  
_Class_

```csharp
public abstract class PdfMarkElement
```

**Hierarquia:** [`object`](https://learn.microsoft.com/dotnet/api/system.object) → `PdfMarkElement`

## Construtores

### `PdfMarkElement(PdfMarkElementType, PadesVisualRectangle)`

```csharp
public PdfMarkElement(PdfMarkElementType type, PadesVisualRectangle relativeContainer)
```

**Parâmetros**

| Nome | Tipo | Descrição |
|---|---|---|
| `type` | `PdfMarkElementType` |  |
| `relativeContainer` | [`PadesVisualRectangle`](https://docs.lacunasoftware.com/api/Lacuna.RestPki.Client/PadesVisualRectangle) |  |

---

### `PdfMarkElement(PdfMarkElementType)`

```csharp
public PdfMarkElement(PdfMarkElementType type)
```

**Parâmetros**

| Nome | Tipo | Descrição |
|---|---|---|
| `type` | `PdfMarkElementType` |  |

---

## Propriedades

### `ElementType`

```csharp
public PdfMarkElementType ElementType { get; set; }
```

**Retorno**

`PdfMarkElementType`

---

### `Opacity`

```csharp
public double Opacity { get; set; }
```

**Retorno**

[`double`](https://learn.microsoft.com/dotnet/api/system.double)

---

### `RelativeContainer`

```csharp
public PadesVisualRectangle RelativeContainer { get; set; }
```

**Retorno**

[`PadesVisualRectangle`](https://docs.lacunasoftware.com/api/Lacuna.RestPki.Client/PadesVisualRectangle)

---

### `Rotation`

```csharp
public int Rotation { get; set; }
```

**Retorno**

[`int`](https://learn.microsoft.com/dotnet/api/system.int32)

---

## Métodos

### `ToModel()`

```csharp
public virtual PdfMarkElementModel ToModel()
```

**Retorno**

`PdfMarkElementModel`

---

## Membros herdados

[`GetType()`](https://learn.microsoft.com/dotnet/api/system.object.gettype), [`MemberwiseClone()`](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone), [`ToString()`](https://learn.microsoft.com/dotnet/api/system.object.tostring), [`Equals(object)`](<https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)>), [`Equals(object, object)`](<https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)>), [`ReferenceEquals(object, object)`](https://learn.microsoft.com/dotnet/api/system.object.referenceequals), [`GetHashCode()`](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)
