PdfMarker
Namespace: Lacuna.RestPki.Client
Assembly: Lacuna.RestPki.Client
Class
public class PdfMarker
Hierarquia: object → PdfMarker
Construtores
PdfMarker(RestPkiClient)
public PdfMarker(RestPkiClient client)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
client | RestPkiClient |
Propriedades
AbortIfSigned
public bool AbortIfSigned { get; set; }
Retorno
ForceBlobResult
public bool ForceBlobResult { get; set; }
Retorno
Marks
public List<PdfMark> Marks { get; set; }
Retorno
MeasurementUnits
public PadesMeasurementUnits MeasurementUnits { get; set; }
Retorno
PadesMeasurementUnits
PageOptimization
public PadesPageOptimization PageOptimization { get; set; }
Retorno
PreserveSignaturesVisualRepresentation
public bool PreserveSignaturesVisualRepresentation { get; set; }
Retorno
Métodos
Apply()
public FileResult Apply()
Retorno
ApplyAsync()
public Task<FileResult> ApplyAsync()
Retorno
SetFile(BlobReference)
Sets the PDf from a file previously uploaded with one of the RestPkiClient.UploadFile methods
public void SetFile(BlobReference fileBlob)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
fileBlob | BlobReference |
SetFile(byte[])
Sets the PDF via a byte array
public void SetFile(byte[] content)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
content | byte[] | The byte array representing the PDF file |
SetFile(FileResult)
Sets the PDf from a file result from a previous call to Rest PKI
public void SetFile(FileResult fileResult)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
fileResult | FileResult |
SetFile(Stream)
Sets the PDF via a stream object
public void SetFile(Stream stream)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
stream | Stream | The stream representing the PDF |
SetFile(string)
Sets the PDF via a file path string
public void SetFile(string path)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
path | string | The path where the file will be found |
Exceções
| Tipo | Condição |
|---|---|
FileNotFoundException | In case a file cannot be found with the given path string |
Membros herdados
GetType(), MemberwiseClone(), ToString(), Equals(object), Equals(object, object), ReferenceEquals(object, object), GetHashCode()