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

# PdfContainerDefinition.VarWidth

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

```csharp
public class PdfContainerDefinition.VarWidth
```

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

## Métodos

### `Margins(double, double)`

```csharp
public PdfContainerDefinition.WidthDefined Margins(double leftMargin, double rightMargin)
```

**Parâmetros**

| Nome | Tipo | Descrição |
|---|---|---|
| `leftMargin` | [`double`](https://learn.microsoft.com/dotnet/api/system.double) |  |
| `rightMargin` | [`double`](https://learn.microsoft.com/dotnet/api/system.double) |  |

**Retorno**

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

---

### `Margins(double)`

```csharp
public PdfContainerDefinition.WidthDefined Margins(double leftAndRightMargins)
```

**Parâmetros**

| Nome | Tipo | Descrição |
|---|---|---|
| `leftAndRightMargins` | [`double`](https://learn.microsoft.com/dotnet/api/system.double) |  |

**Retorno**

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

---

## 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)
