Show / Hide Table of Contents

Class PdfMarker

Inheritance
Object
PdfMarker
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Lacuna.RestPki.Client
Assembly: Lacuna.RestPki.Client.dll
Syntax
public class PdfMarker

Constructors

PdfMarker(RestPkiClient)

Declaration
public PdfMarker(RestPkiClient client)
Parameters
Type Name Description
RestPkiClient client

Properties

AbortIfSigned

Declaration
public bool AbortIfSigned { get; set; }
Property Value
Type Description
Boolean

ForceBlobResult

Declaration
public bool ForceBlobResult { get; set; }
Property Value
Type Description
Boolean

Marks

Declaration
public List<PdfMark> Marks { get; set; }
Property Value
Type Description
List<PdfMark>

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
Type Description
PadesPageOptimization

PreserveSignaturesVisualRepresentation

Declaration
public bool PreserveSignaturesVisualRepresentation { get; set; }
Property Value
Type Description
Boolean

Methods

Apply()

Declaration
public FileResult Apply()
Returns
Type Description
FileResult

ApplyAsync()

Declaration
public Task<FileResult> ApplyAsync()
Returns
Type Description
Task<FileResult>

SetFile(BlobReference)

Sets the PDf from a file previously uploaded with one of the RestPkiClient.UploadFile methods

Declaration
public void SetFile(BlobReference fileBlob)
Parameters
Type Name Description
BlobReference fileBlob

SetFile(FileResult)

Sets the PDf from a file result from a previous call to Rest PKI

Declaration
public void SetFile(FileResult fileResult)
Parameters
Type Name Description
FileResult fileResult

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
Type Condition
FileNotFoundException

In case a file cannot be found with the given path string

Back to top Copyright © 2015-2020 Lacuna Software