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

# IPdfHandler2

**Namespace:** `Lacuna.Pki.Pades`  
**Assembly:** `Lacuna.Pki`  
_Interface_

```csharp
public interface IPdfHandler2 : IPdfHandler
```

## Métodos

### `SetVisualRepresentation(PadesVisualRepresentation2, DateTimeOffset?)`

```csharp
void SetVisualRepresentation(PadesVisualRepresentation2 visual, DateTimeOffset? signingTime)
```

**Parâmetros**

| Nome | Tipo | Descrição |
|---|---|---|
| `visual` | [`PadesVisualRepresentation2`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pades/PadesVisualRepresentation2) |  |
| `signingTime` | [`DateTimeOffset?`](https://learn.microsoft.com/dotnet/api/system.datetimeoffset) |  |

---

## Membros herdados

[`SetPdf(byte[])`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pades/IPdfHandler#setpdf-system-byte), [`CreateSignatureDictionary(PadesFilters)`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pades/IPdfHandler#createsignaturedictionary-lacuna-pki-pades-padesfilters), [`SetCertificationLevel(PadesCertificationLevel)`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pades/IPdfHandler#setcertificationlevel-lacuna-pki-pades-padescertificationlevel), [`GenarateRangeBytes(int)`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pades/IPdfHandler#genaraterangebytes-system-int32), [`Finalize(byte[])`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pades/IPdfHandler#finalize-system-byte), [`SetSigningDateM(DateTimeOffset)`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pades/IPdfHandler#setsigningdatem-system-datetimeoffset), [`SetVisualRepresentation(PadesVisualRepresentation, DateTimeOffset?)`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pades/IPdfHandler#setvisualrepresentation-lacuna-pki-pades-padesvisualrepresentation-system-nullable-system-datetimeoffset), [`GetSignatureFieldName()`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pades/IPdfHandler#getsignaturefieldname), [`AddToDss(IEnumerable<DssEntry>)`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pades/IPdfHandler#addtodss-system-collections-generic-ienumerable-lacuna-pki-pades-dssentry), [`AddTimestamp(ITimestampRequester)`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pades/IPdfHandler#addtimestamp-lacuna-pki-itimestamprequester), [`GetSignedPdf()`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pades/IPdfHandler#getsignedpdf), [`GetSigners()`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pades/IPdfHandler#getsigners), [`GetBlankSignaturesNames()`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pades/IPdfHandler#getblanksignaturesnames), [`GetRangeBytes(string)`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pades/IPdfHandler#getrangebytes-system-string), [`GetCertificateStoreFromDss()`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pades/IPdfHandler#getcertificatestorefromdss), [`GetDss(string)`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pades/IPdfHandler#getdss-system-string), [`CanHandleDss`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pades/IPdfHandler#canhandledss), [`CanHandleVisualRepresentation`](https://docs.lacunasoftware.com/api/Lacuna.Pki.Pades/IPdfHandler#canhandlevisualrepresentation)
