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

# PdfMarkText

**Namespace:** `Lacuna.Pki.Pdf`  
**Assembly:** `Lacuna.Pki`  
_Class_

```csharp
public class PdfMarkText : PdfMarkElement
```

**Hierarquia:** [`object`](https://learn.microsoft.com/dotnet/api/system.object) → [`PdfMarkElement`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pdf/PdfMarkElement) → `PdfMarkText`

## Construtores

### `PdfMarkText()`

```csharp
public PdfMarkText()
```

---

## Propriedades

### `Align`

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

**Retorno**

[`PadesHorizontalAlign`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pades/PadesHorizontalAlign)

---

### `LineSpacing`

The line spacing multiplier based on the font size.

```csharp
public double? LineSpacing { get; set; }
```

**Retorno**

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

---

### `Texts`

```csharp
public List<PdfTextSection> Texts { 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`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pades/PadesVerticalAlign)

---

## Métodos

### `AddSection(PdfTextSection)`

```csharp
public void AddSection(PdfTextSection text)
```

**Parâmetros**

| Nome | Tipo | Descrição |
|---|---|---|
| `text` | [`PdfTextSection`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pdf/PdfTextSection) |  |

---

### `AddSections(IEnumerable<PdfTextSection>)`

```csharp
public void AddSections(IEnumerable<PdfTextSection> texts)
```

**Parâmetros**

| Nome | Tipo | Descrição |
|---|---|---|
| `texts` | [`IEnumerable<PdfTextSection>`](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1) |  |

---

### `AddSections(params PdfTextSection[])`

```csharp
public void AddSections(params PdfTextSection[] text)
```

**Parâmetros**

| Nome | Tipo | Descrição |
|---|---|---|
| `text` | `PdfTextSection[]` |  |

---

## Membros herdados

[`Opacity`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pdf/PdfMarkElement#opacity), [`RelativeContainer`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pdf/PdfMarkElement#relativecontainer), [`Rotation`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pdf/PdfMarkElement#rotation), [`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), [`GetType()`](https://learn.microsoft.com/dotnet/api/system.object.gettype), [`MemberwiseClone()`](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)
