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

# PdfTextSection

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

```csharp
public class PdfTextSection
```

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

## Construtores

### `PdfTextSection()`

```csharp
public PdfTextSection()
```

---

## Propriedades

### `Color`

Text color. If not set, default if Black.

```csharp
public Color Color { get; set; }
```

**Retorno**

[`Color`](https://learn.microsoft.com/dotnet/api/system.drawing.color)

---

### `FontSize`

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

**Retorno**

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

---

### `Style`

```csharp
public PdfTextStyle Style { get; set; }
```

**Retorno**

[`PdfTextStyle`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pdf/PdfTextStyle)

---

### `Text`

```csharp
public string Text { get; set; }
```

**Retorno**

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

---

## Membros herdados

[`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)
