Class PdfMarker
Assembly: Lacuna.RestPki.Client.dll
Syntax
Constructors
PdfMarker(RestPkiClient)
Declaration
public PdfMarker(RestPkiClient client)
Parameters
Properties
AbortIfSigned
Declaration
public bool AbortIfSigned { get; set; }
Property Value
ForceBlobResult
Declaration
public bool ForceBlobResult { get; set; }
Property Value
Marks
Declaration
public List<PdfMark> Marks { get; set; }
Property Value
MeasurementUnits
Declaration
public PadesMeasurementUnits MeasurementUnits { get; set; }
Property Value
Type |
Description |
Lacuna.RestPki.Api.PadesSignature.PadesMeasurementUnits |
|
PageOptimization
Declaration
public PadesPageOptimization PageOptimization { get; set; }
Property Value
PreserveSignaturesVisualRepresentation
Declaration
public bool PreserveSignaturesVisualRepresentation { get; set; }
Property Value
Methods
Apply()
Declaration
public FileResult Apply()
Returns
ApplyAsync()
Declaration
public Task<FileResult> ApplyAsync()
Returns
SetFile(BlobReference)
Sets the PDf from a file previously uploaded with one of the RestPkiClient.UploadFile methods
Declaration
public void SetFile(BlobReference fileBlob)
Parameters
SetFile(FileResult)
Sets the PDf from a file result from a previous call to Rest PKI
Declaration
public void SetFile(FileResult fileResult)
Parameters
SetFile(Byte[])
Sets the PDF via a byte array
Declaration
public void SetFile(byte[] content)
Parameters
Type |
Name |
Description |
Byte[] |
content |
The byte array representing the PDF file
|
SetFile(Stream)
Sets the PDF via a stream object
Declaration
public void SetFile(Stream stream)
Parameters
Type |
Name |
Description |
Stream |
stream |
The stream representing the PDF
|
SetFile(String)
Sets the PDF via a file path string
Declaration
public void SetFile(string path)
Parameters
Type |
Name |
Description |
String |
path |
The path where the file will be found
|
Exceptions