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

# PdfMarkTextElement

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

```csharp
public class PdfMarkTextElement : PdfMarkElement
```

**Hierarquia:** [`object`](https://learn.microsoft.com/dotnet/api/system.object) → [`PdfMarkElement`](https://docs.lacunasoftware.com/api/Lacuna.RestPki.Client/PdfMarkElement) → `PdfMarkTextElement`

## Construtores

### `PdfMarkTextElement()`

```csharp
public PdfMarkTextElement()
```

---

### `PdfMarkTextElement(PadesVisualRectangle, params PdfTextSection[])`

```csharp
public PdfMarkTextElement(PadesVisualRectangle relativeContainer, params PdfTextSection[] sections)
```

**Parâmetros**

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

---

## Propriedades

### `Align`

```csharp
public PadesHorizontalAlign Align { get; set; }
```

**Retorno**

`PadesHorizontalAlign`

---

### `TextSections`

```csharp
public List<PdfTextSection> TextSections { get; set; }
```

**Retorno**

[`List<PdfTextSection>`](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)

---

### `VerticalAlign`

```csharp
public PadesVerticalAlign? VerticalAlign { get; set; }
```

**Retorno**

`PadesVerticalAlign?`

---

## Métodos

### `ToModel()`

```csharp
public override PdfMarkElementModel ToModel()
```

**Retorno**

`PdfMarkElementModel`

---

## Membros herdados

[`ElementType`](https://docs.lacunasoftware.com/api/Lacuna.RestPki.Client/PdfMarkElement#elementtype), [`RelativeContainer`](https://docs.lacunasoftware.com/api/Lacuna.RestPki.Client/PdfMarkElement#relativecontainer), [`Rotation`](https://docs.lacunasoftware.com/api/Lacuna.RestPki.Client/PdfMarkElement#rotation), [`Opacity`](https://docs.lacunasoftware.com/api/Lacuna.RestPki.Client/PdfMarkElement#opacity), [`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)
